按照官网上的说明:
https://www.elastic.co/guide/en/logstash/current/plugins-inputs-file.html#_description_8
By default, the sincedb file is placed in the home directory of the user running Logstash with a filename based on the filename patterns being watched
(i.e. the path option).
位置应该是在home目录下,但是一直都没有找到。
然后通过在home目录下搜索:
find . -name .sincedb_*
才搜索到在的安装目录logstash: data/plugins/inputs/file文件夹下。
本文介绍 Logstash 的 sincedb 文件默认存放位置,并提供一种查找该文件的方法。通常情况下,sincedb 文件应位于运行 Logstash 用户的 home 目录中,但实际可能存在于 Logstash 安装目录下的 data/plugins/inputs/file 文件夹内。
788

被折叠的 条评论
为什么被折叠?



