Problem sincedb_path

Hello,

I use logstash to ingest CSV file in elastic, i have a problem with sincedb_path

input {

file {
path => "/data/volumes/monitoring/logstash/logCtrlM/stock.csv"
start_position => "beginning"
sincedb_path => "/usr/share/logstash/data/plugins/inputs/file/.sincedb_7bc697fa2ff1735be6fd1da0defb707d"
}
   
}  

filter {

csv {
separator => ","
columns => [  "Univers",  "Entrepot", "Sous application", "Chaine", "Job", "Statut", "couleur", "date plan", "numero passage", "satatut global", "couleurG" ]
skip_header => "true"
}


date {
match => [ "date_plan" , "YYYY-MM-dd" ]
timezone => "Europe/Paris"
}

mutate {
convert => { "numero_passage" => "integer" }
}

mutate {
convert => { "couleurG" => "integer" }
}


}

output {
elasticsearch {
hosts => ["http://elasticsearch:9200"]
index => "logstash"

}
stdout {
codec => rubydebug
}
}

I have this error when i run Logstsh

Error: No such file or directory - /usr/share/logstash/data/plugins/inputs/file/.sincedb_7bc697fa2ff1735be6fd1da0defb707d
Exception: Errno::ENOENT

1 Like

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