I am trying to add index to ElasticSearch from a csv using logstash.
my config file :
input {
file{
path => "C:\Users\Administrator\Downloads\8THJAN210.csv"
start_position => "beginning"
sincedb_path =>"C:\Users\Administrator\Downloads\null"
}
}
filter {
csv{
separator => ","
autodetect_column_names => true
}
mutate {
convert => {
"APPL" => "integer"
"ANNL" => "integer"
"SCOR" => "integer"
}
}
}
output {
elasticsearch {
hosts=>"http://localhost:9200"
index =>"logger"
}
stdout {}
}
Is this file okey??