Hey I have a quick question. I was wondering if there is anyway to remove a file after it has been read by logstash. I have a feeling mine keeps hanging on the same file over and over but when I check the query there is only 1 entry so thats a plus. But I dont want it to keep reading the same file over and over and over.
I have roughly 400 .csv files that range from 400 megs to as small as 100 megs.
I have provided a copy of my config file I am using.
The path to your system's null device is /dev/null (that leading slash is important). My guess is that with your current configuration the File Input Plugin is creating a sincedb and placing it at the path dev/nullrelative to your config directory; if this is the case, it could explain why the input is "remembering" where it left off and refusing to reprocess files after a restart.
Got it. I will change it and add the / thanks for noticing that. I will go ahead and stop my process and fix it. Its been on one CSV thats about 40 gigs that I had added for about 12 hrs.
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.