input {
file{
path => "C:/elastic_stack/*.csv"
start_position => "beginning"
sincedb_path => "null"
}
}
filter {
csv { separator => ","
columns => ["name","mfr","type","calories","protein","fat","sodium","fiber","carbo","sugars","potass","vitamins","shelf","weight","cups","rating"]
}
}
output {
elasticsearch
{ hosts => "http://localhost:9200/"
index => "cereals"
}
stdout {}
}
This is my config file but the data is not sending to elastic search
