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

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -