Hi guys
I am kind of new in ELK. I am trying to add CSV file which is Nessus report to logstash in order to analyze them.
What I have done is I create a .conf file in logstash but when I try to run logstash -f configfile.conf , It gave my tons of error regarding that logstash cannot parse the csv file correctly.
`input {
file {
path => "/root/csvs/*.csv"
type => "core2"
start_position => "beginning"
}
}
filter {
csv {
columns => ["@timestamp", "interface", "bytes in", "bytes out"]
separator => ","
}
}
output {
elasticsearch {
action => "index"
hosts => "localhost"
index => "logstash-%{+YYYY.MM.dd}"
workers => 1
}
# stdout {
# codec => rubydebug
# }
}
Please somebody tell me how can I fix that.`
Thank you,