How to load json file in elastic search using kibana

(Nikhil Chandrakant Parab) #1

I am firing command as fillow in kibana as follow

POST /test/test/1 -d @zips.json

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.

(Mark Walkom) #2

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

(Nikhil Chandrakant Parab) #3

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

(Mark Walkom) #4

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

(system) #5

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