I need to configure logstash to read only the newest file in folders, when I restart always read all files, and I couldn't understand why, files are in NAS, and I mount folders before start reading.
This is my last input config: (I tried with beginning.end, changing close_older and ignore_older values, tail or read mode)
It is possible that if you re-mount the NAS it is being assigned a different device number. That would show up in the sincedb, which is just a text file.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.