# Adding a date filter to CSV

**URL:** <https://discuss.elastic.co/t/adding-a-date-filter-to-csv/61663>\
**Category:** Logstash\
**Created:** [September 28, 2016, 7:09am UTC](https://discuss.elastic.co/t/adding-a-date-filter-to-csv/61663 "2016-09-28T07:09:37Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![setlem](https://avatars.discourse-cdn.com/v4/letter/s/ea5d25/32.png) [@setlem](https://discuss.elastic.co/u/setlem)\
**Post date:** [September 28, 2016, 7:09am UTC](https://discuss.elastic.co/t/adding-a-date-filter-to-csv/61663/1 "2016-09-28T07:09:37Z")

</div>

hi magnus,  
I am new to ELk.i have used the same date filter but index file is not generating in elastic search and am unable to see data in kibana. ![](https://us1.discourse-cdn.com/elastic/original/2X/8/826988c71a0f7561d1f486edbcd5dba6592b66f3.PNG) here is my config file ![](https://us1.discourse-cdn.com/elastic/original/2X/4/4b54e6de40cffa5e9dafdda9e08e208f205e449a.PNG)  
and my input is date, count  
sep 03 2016,55

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [September 28, 2016, 7:21am UTC](https://discuss.elastic.co/t/adding-a-date-filter-to-csv/61663/2 "2016-09-28T07:21:13Z")

</div>

Please don't use screenshots. Use copy/paste.

Are you getting _anything_ into ES?

---

<div class="post-metadata">

**Author:** ![setlem](https://avatars.discourse-cdn.com/v4/letter/s/ea5d25/32.png) [@setlem](https://discuss.elastic.co/u/setlem)\
**Post date:** [September 28, 2016, 7:23am UTC](https://discuss.elastic.co/t/adding-a-date-filter-to-csv/61663/3 "2016-09-28T07:23:24Z")

</div>

nope

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [September 28, 2016, 7:25am UTC](https://discuss.elastic.co/t/adding-a-date-filter-to-csv/61663/4 "2016-09-28T07:25:49Z")

</div>

Then your problem has nothing to do with the date filter.

Two likely root causes:

- The input file is older than 24 hours and is ignored. Adjust the file input's `ignore_older` option.
- Logstash is tailing the log file. Delete the sincedb file and/or set the file input's `sincedb_path` option to "nul" to effectively disable sincedb.

This is an extremely common problem for beginners so there's tons of material in the forum archives.

---

<div class="post-metadata">

**Author:** ![setlem](https://avatars.discourse-cdn.com/v4/letter/s/ea5d25/32.png) [@setlem](https://discuss.elastic.co/u/setlem)\
**Post date:** [September 28, 2016, 7:37am UTC](https://discuss.elastic.co/t/adding-a-date-filter-to-csv/61663/5 "2016-09-28T07:37:47Z")

</div>

Thank you magnus!!

---

<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, 4:36am UTC](https://discuss.elastic.co/t/adding-a-date-filter-to-csv/61663/6 "2017-07-06T04:36:35Z")

</div>


