Hello, im trying to push csv data to Elasticsearch using Logstash, here's my logstash conf file :
input{
file{
path => "C:\Users\zk3i\Desktop\ELK\kpassdemo_vue_qsse.CSV"
start_position => "beginning"
sincedb_path => "C:\Users\zk3i\Desktop\ELK\null.txt"
}
}
filter{
csv{
separator => ","
columns => ["Nom","Etape","Etape [id<:ver>]","Nature évènement","Nature évènement [id<:ver>]","Lieu" ,"Lieu [id<:ver>]","Détecté par", "Détecté par [id<:ver>]","Date de détection"]
}
}
output{
elasticsearch{
hosts => "http://localhost:9200"
index => "qsse"
}
stdout{ }
}
config file is located at C:\Users\zk3i\Desktop\ELK\logstach_qsse.conf
Elasticsearch is running as a service here's what i get when i go to localhost:9200
{
"name" : "elk_local",
"cluster_name" : "elasticsearch",
"cluster_uuid" : "zzjDN3PKQOyvBcpi9_I6Ng",
"version" : {
"number" : "7.2.0",
"build_flavor" : "unknown",
"build_type" : "unknown",
"build_hash" : "508c38a",
"build_date" : "2019-06-20T15:54:18.811730Z",
"build_snapshot" : false,
"lucene_version" : "8.0.0",
"minimum_wire_compatibility_version" : "6.8.0",
"minimum_index_compatibility_version" : "6.0.0-beta1"
},
"tagline" : "You Know, for Search"
}
I dont know what im doing wrong, im really new to the Elastic Stack.
When i run ./bin/logstash -f C:\Users\zk3i\Desktop\ELK\logstach_qsse.conf
i got a tons of errors, you can find the error log here https://pastebin.com/n7dMiiiF
I couldn't paste it here because its limited to 7000 chars