Having issues getting a CSV file into Logstash

Hello im looking for help. This is for a college project and i am just lost on how to get this file working in logstash for elastic search. Idk if im running the command wrong or what but ive run the test on this conf file and it passes just i can never get anything to show up from it. Please help and here is my conf file

input {
file {
path => "C:/Users/Administrator/Downloads/WrittenWorks2.csv"
start_position => beginning
sincedb_path => "/dev/null"
}
}

filter {
csv {
columns => ["title","firstPublicationDate","finalPublicationYear","finalPublicationYear","publisher"]
}
}

output {
stdout { codec => rubydebug }
elasticsearch {
hosts => "127.0.0.1:9200"
index => "csv_index"
}

}

That's not valid for windows, try using nul instead.

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