Unable to ingest CSV files since Logstash 7.3

Hi experts,

I'm struggling with Logstash since the 7.3 release version.

Here my logstash configuration file :

input {
  file {
    path => ["C:\samples\sample.csv"]
    start_position => "beginning"
    sincedb_path => "NUL"
output {
  elasticsearch {
    hosts => ["localhost:9200"]
    index => "sample_index"

If I try to launch this with Logstash 6.0 (to index data into an Elasticsearch 7.3), everything works well : my index is created and the data is inserted.

Meanwhile, if I try to use the configuration file with Logstash > 6 (7.3 or 7.4), nothing happens : I have no error message...

Could you please help me? I think I'm missing something :slight_smile:

Best regards,

I may have found a solution... using Linux (Debian) instead of Windows!

Do not use backslash in the path option of a file input, use forward slash (\\ may also work).

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.