Elasticsearch is returning very large payload for every bulk request

when ever i ran a command like curl -XPOST localhost:9200/_bulk --data-binary @datafile , with data file of around 100000 docs, Elasticsearch is returning very large data payload (100000 results) which all are not required. And also returning that much payload is consuming resources. Is there any way to modify this response, so that when i run the query with data file of x docs, response will say y docs indexed and z docs failed thatsit.

Nope, we return a response for every document, and you should really be parsing that as well.