Here is the Config file
input {
file {
path => "c:/Users/Admin/Desktop/data/cars.csv"
start_position => "beginning"
sincedb_path => "/dev/null"
ignore_older => 0
}
}
filter {
csv {
separator => ","
columns => ["maker", "model","mileage"]
}
mutate {convert =>["mileage","integer"]}
}
output{
elasticsearch{
hosts => "localhost:3000"
index => "cars"
document_type => "sold_cars"
}
stdout{}
}