Logstah do not parse csv

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.

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

1 Like

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 !