Can't import .csv through logstash

I am using windows 10, when I run logstash -f , I could see logstash agent started message but cant find any data in kibana? Any help would be appreciated.
input {
file {
path => "D:/ES/SalesJan2009.csv"
start_position => "beginning"
sincedb_path => "NUL"
}
}
filter {
csv {
separator => ","
columns => ["Transaction_date","Product","Price","Payment_Type","Name","City","State","Country","Account_Created","Last_Login","Latitude","Longitude"]
}
}
output {
elasticsearch {
hosts => "http://localhost:9200"
index => "sales-index"
}
stdout { codec => rubydebug }
}

I got solved it myself, I had some config issue , Its solved now. Thank you!

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