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.
I'm assuming you're trying out Logstash from a shell rather than running it as a service.
sincedb_path => "dev/null"
Unless you're running Logstash from the file system's root this should be:
sincedb_path => "/dev/null"
Before attempting to get anything into Elasticsearch, use a stdout { codec => rubydebug } output and verify that you're getting stuff to stdout. Once that works you can reenable the elasticsearch output.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.