how to mention a json file for elasticsearch which can be used by kibana? -
i have show log file(a json file) dashboard of kibana. configured elasticsearch , kibana.
i tried giving elasticsearch.yml path.data: c:\users\rajesh\desktop\temp (where logs are),but while using dashboard if searching string gives 0 results.
could please guide me? in advance
you can use logstash read logfile , output elasticsearch. use kibana view it.
logstash has lot of plugin this.
here example reference. logstash configuration. read json data file , output elasticsearch.
input { file { path => "/path/to/your/json/file" codec => json_lines { } } } output { elasticsearch { cluster => "abc" } }
Comments
Post a Comment