Hi,
I am trying to parse a JSON log file generated by an application and send it to elasticsearch and from there to kibana. I have tried so many methods, but there is no luck. Below is the logstash config file i am using. Please help me.
input {
file {
codec => json
path => "/home/test/*"
sincedb_path => "dev/null"
start_position => "beginning"
}
}
filter {
if [tags][json] {
json {
source => "message"
}
}
}
output {
elasticsearch {
hosts => [ "10.0.2.15:9200" ]
}
}