I have a logstash process running all the time, so
remove and copy the file in logstash path-
cd <logstash_path_dir>;rm log1234; cp <from_source> log1234
This works when I do delete and wait until it becomes zero records in ES and do reparse manually (only some times).
When ran as a script its not working ... Do I need to add more wait (sleep) in script for ES to flush the data?
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.