How can I insert JSON data directly elastic search using curl command?

I want to insert JSON data into elastic search directly using curl command data I am getting from one of the web service

curl -XPOST http://localhost:9200/index/doc -d 'YOUR JSON HERE`

I tried that data is loading properly but it's not visible in Discover tab of kibana, I think there is issue with timestamp do you know how to specify the time stamp

How can I tell? I have no idea of what you sent, what the mapping is, how you configured your index pattern in Kibana...

You should provide more details.

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