# Logstah do not parse csv

**URL:** <https://discuss.elastic.co/t/logstah-do-not-parse-csv/54762>\
**Category:** Logstash\
**Created:** [July 5, 2016, 3:42pm UTC](https://discuss.elastic.co/t/logstah-do-not-parse-csv/54762 "2016-07-05T15:42:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![antonin42](https://avatars.discourse-cdn.com/v4/letter/a/c68b51/32.png) [@antonin42](https://discuss.elastic.co/u/antonin42)\
**Post date:** [July 5, 2016, 3:42pm UTC](https://discuss.elastic.co/t/logstah-do-not-parse-csv/54762/1 "2016-07-05T15:42:45Z")

</div>

Hi there with a simple config, to check that logstash works correctly, I get no output :

```
input {
  file {
    path => ["/home/dive/fromJenkins/es_files/data/MRC_reit_test/output/reiteration_t1_mono*.csv"]
    start_position => "beginning"
    sincedb_path => "/dev/null"
  }
}

filter {}

output {
  stdout {
    codec => rubydebug
  }
}

```

the input is a csv file.

using stdin as an input works...  
I though I shoud see one liner events on the console corresponding to logstash reading the file line per line and creating events containing one line ?

Can someone help me with this matter please ? I gess for logstash guru this is a very simple exercise, but I don't find what is wrong with this configuration ?  
Thanks in advance.

---

<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:** [July 5, 2016, 6:02pm UTC](https://discuss.elastic.co/t/logstah-do-not-parse-csv/54762/2 "2016-07-05T18:02:47Z")

</div>

If the input file is older than 24 hours, adjust the file input's `ignore_older` option.

---

<div class="post-metadata">

**Author:** ![antonin42](https://avatars.discourse-cdn.com/v4/letter/a/c68b51/32.png) [@antonin42](https://discuss.elastic.co/u/antonin42)\
**Post date:** [July 6, 2016, 7:07am UTC](https://discuss.elastic.co/t/logstah-do-not-parse-csv/54762/3 "2016-07-06T07:07:04Z")

</div>

> [@magnusbaeck](#):
>
> ignore\_older

And that was exactly that, setting ignore\_older to 0 works :

```
input {
  file {
    path => ["/home/dive/fromJenkins/es_files/data/MRC_reit_test/output/reiteration_t1_mono*.csv"]
    start_position => "beginning"
    sincedb_path => "/dev/null"
    ignore_older => 0
  }
}

filter {}

output {
  stdout {
    codec => rubydebug
  }
}

```

Thanks again 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:49am UTC](https://discuss.elastic.co/t/logstah-do-not-parse-csv/54762/4 "2017-07-06T04:49:19Z")

</div>


