redis、logstash 和弹性搜索的解析问题

Parsing issue with redis,logstash and elastic search

我在 aws 上设置了两个节点,我的架构如下 Logstash 托运主机 A redis-logstash-elastic 搜索主机 B

我们尝试使用 shipper 解析日志,它对第一个日志文件工作正常。 我再次尝试解析已建立连接的第二个文件 properly.But 文件解析未启动。

我的问题是需要删除 redis 的任何缓存或任何类似 .sincedb 的文件。

是的,如果你想重新解析,你需要删除所有的.sincedb文件。

请参考here. Beside that, if you want to parse the file from the beginning, also make sure you have set the start_positionbeginning