# Elastic Search Fails To Index

**URL:** https://discuss.elastic.co/t/elastic-search-fails-to-index/48354
**Category:** Logstash
**Created:** [April 25, 2016, 9:56pm UTC](https://discuss.elastic.co/t/elastic-search-fails-to-index/48354 "2016-04-25T21:56:15Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jhvh111](https://avatars.discourse-cdn.com/v4/letter/j/85f322/32.png) [@jhvh111](https://discuss.elastic.co/u/jhvh111)
#### Post date: [April 25, 2016, 9:56pm UTC](https://discuss.elastic.co/t/elastic-search-fails-to-index/48354/1 "2016-04-25T21:56:15Z")

</div>

Continuing the discussion from [Logstash won't create index in ES](https://discuss.elastic.co/t/logstash-wont-create-index-in-es/24051):

Just in case it helps others in my scenario:

It looks like there are a lot of reasons why Elasticsearch might not index a Logstash. In my case I simply needed to add:  
ignore\_older =\> 0

to my input{ file{ ..

after deleting the .sincedb and restarting I saw my wonderful log file fly by the screen. A great feeling!

Thanks,  
Jim

---

<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:00am UTC](https://discuss.elastic.co/t/elastic-search-fails-to-index/48354/2 "2017-07-06T05:00:39Z")

</div>


