elasticsearch - List all indices in elastic search - elastic - elastic search - elasticsearch tutorial - elasticsearch docker
curl -XGET 'http://www.example.com:9200/myIndexName/myTypeName/1'
Clicking "Copy Code" button will copy the code into the clipboard - memory. Please paste(Ctrl+V) it in your destination. The code will get pasted. Happy coding from Wikitechy - elasticsearch - elasticsearch tutorial - elastic - elastic search - elasticsearch docker team
Output:
{ "_index" : "myIndexName", "_type" : "myTypeName", "_id" : "1", "_version" : 1, "found": true, "_source" : { "user" : "mrunal", "postDate" : "2016-07-25T15:48:12", "message" : "This is test document!" } }