The problem is when I run bin/logstash -f sample.conf from terminal I get the following response Logstash startup completed but when I see the list of indices in Elasticsearch, it remains the same.
I'm sorry about the inconvenience Warkolm. I re-installed Logstash and after that I located all the .sincedb files which were in HOME directory and deleted it. After that my first index got created in elasticsearch but then when I try to index a new csv file, it fails. I again need to explicitly delete those sincedb files and index it again. Is there any way to autodelete .sincedb files?
Hope it will solve your problem
add sincedb_path => "/home/pavan/Downloads/dbflile"
it will create one file with name dbfile and this file keeps track of the current position of monitored log files.
Have the same problem, deleted the sincedb files but index still won't be created. Run logtsash with path to a logfile and there's no error in that file. Kinda blind to what's going on. Any ideas?
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.