Logstash error to recreate Index for Elasticsearch


(carmelo) #1

I am using :

  • elasticsearch-2.1.1
  • kibana-4.3.1-linux-x64
  • logstash-2.1.1
    I followed this tutorial:
    https://www.elastic.co/guide/en/logstash/current/advanced-pipeline.html

Then logstash was able to create the index into Elasticsearch.
After I deleted the index in elasticsearch with :
curl -XDELETE http://localhost:9200/logstash-2015.12.30/
Then I tried to create a new index with a new file config but logstash did not send the new index to the elasticsearch.

What is wrong?
Why logstash is not sending the new index to the elasticsearch?
Is this some kind of bug ?

I hope someone can help me.

Regards
Carmelo


(Christian Dahlqvist) #2

If you are using the file input plugin, log stash keeps track of the files it has processed in the sincedb file. You can delete this in order to get the file processed again or even instead pipe the data to Logstash using the stdin input filter.


(system) #3