LogStash JDBC输入是否在外部来源上``last_run_metadata_path''?

发布于 2025-02-06 05:09:32 字数 358 浏览 1 评论 0原文

我们希望在实例具有短暂生命的ECS环境中运行LogStash。他们可能长期以来生活,但不是永久的。因此,如果logstash存储sql_last_valuelast_run_metadata_path中在删除实例然后再次提出的情况下无效。那个状态迷路了。

有没有办法从S3路径中拔出该值?还是通过数据库查询?我只是在寻找一个持久的地方,当实例被删除并再次提出时不会消失。

last_run_metadata_path => "/home/ckessel/.logstash_source_a"  <-- need that to be S3 or some such

We want to run logstash in an ECS environment where the instances have transient lives. They might be long lived, but they aren't permanent. Thus, having logstash store the sql_last_value in the last_run_metadata_path doesn't work if the instance is removed and then brought up again. That state gets lost.

Is there a way to have that value pulled from a S3 path? Or via a DB query? I'm just looking somewhere persistent that won't vanish when the instance gets deleted and brought up again.

last_run_metadata_path => "/home/ckessel/.logstash_source_a"  <-- need that to be S3 or some such

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

日裸衫吸 2025-02-13 05:09:32

The file input just

The file input just reads the saved value from a file. So the location can be anything that the Ruby IO::read function can read. That does not include s3 or a database. It needs to be a filesystem, but it can be network mounted.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文