How to load json file in elastic search using kibana

I am firing command as fillow in kibana as follow
POST /test/test/1 -d @Pernita
Output as follow

“error”: “Content-Type header [text/plain] is not supported”,

“status”: 406

Can anyone help me in this please. I am having my file in local machine.

You cannot post files to Elasticsearch via Console, you need to use curl.

SO it should use with kibana or from browser???

You need to use curl, or similar. Neither the browser or Kibana can upload files like that.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.