Hi, I am trying to index data to elasticsearch through logstash. I want to get the output like how we get the result using curl commands or apis(like below).
{
"_index": "testindex",
"_type": "_doc",
"_id": "1",
"_version": 1,
"result": "created",
"_shards": {
"total": 2,
"successful": 1,
"failed": 0
},
"_seq_no": 0,
"_primary_term": 1
}