Hi Guys,
I am trying to upload my log data in the ElasticSearch engine. But I am getting this below error.
$ curl -X PUT -H 'Content-Type: application/json' http://ElasticSearchIP:9200/mylogdb --data-binary @log.json
{"error":{"root_cause":[{"type":"parse_exception","reason":"unknown key [index] for create index"}],"type":"parse_exception","reason":"unknown key [index] for create index"},"status":400}
Can anyone help me to solve this error?