# Logstash error to recreate Index for Elasticsearch

**URL:** <https://discuss.elastic.co/t/logstash-error-to-recreate-index-for-elasticsearch/38173>\
**Category:** Logstash\
**Created:** [December 30, 2015, 12:35pm UTC](https://discuss.elastic.co/t/logstash-error-to-recreate-index-for-elasticsearch/38173 "2015-12-30T12:35:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![carmelom](https://avatars.discourse-cdn.com/v4/letter/c/e19adc/32.png) [@carmelom](https://discuss.elastic.co/u/carmelom)\
**Post date:** [December 30, 2015, 12:35pm UTC](https://discuss.elastic.co/t/logstash-error-to-recreate-index-for-elasticsearch/38173/1 "2015-12-30T12:35:00Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [January 2, 2016, 8:15am UTC](https://discuss.elastic.co/t/logstash-error-to-recreate-index-for-elasticsearch/38173/2 "2016-01-02T08:15:49Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 5:17am UTC](https://discuss.elastic.co/t/logstash-error-to-recreate-index-for-elasticsearch/38173/3 "2017-07-06T05:17:03Z")

</div>


