Logstash 是否维护注册表文件?

Does Logstash maintain a registry file?

我正在使用 Logstash 将数据发送到 Elasticsearch,使用 jdbc 作为从 MySQL table 获取数据的输入。一切正常,但我有一个问题,每当我删除索引时,我都不会得到与该索引中相同的数据。 Logstash 是否像 Filebeat 一样维护注册表文件?

如何取回数据?有什么办法吗?

如有任何帮助,我们将不胜感激。

在你的 logstash 中尝试 clean_run=> true input.This 会将 sql_last_value 设置为 1970 年 1 月 1 日,或 0。