Hi,
i am running logstash through pragmatically when first i putted file on specific folder then started running longstash file through command . then need to open that log file from specific folder do some operation and saved it , so logstash started running fine.
Can have alternate way to execute logstash file on log file which is already present in folder.
This is probably related to sincedb. Logstash thinks it has already processed a file, but when you open it and save it it gets a new inode number and therefore Logstash discovers it as a new file. The file input documentation explains this in greater detail and if you crank up Logstash's log level you get additional clues about what it's doing.
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.