The command syntax will be of the following type:
<REST Verb> /<Index>/<Type>/<ID>
Execute the following command to explore elasticsearch cluster through Kibana Console.
GET /_cat/health?v
GET /_cat/indices?v
PUT /car?pretty
PUT /car/external/1?pretty
{
"name": "Tata Nexon"
}
the response of above query will be :
{
"_index": "car",
"_type": "external",
"_id": "1",
"_version": 1,
"result": "created",
"_shards": {
"total": 2,
"successful": 1,
"failed": 0
},
"created": true
}
GET /car/external/1?pretty
DELETE /car?pretty