NOTE: You are looking at documentation for an older release. For the latest information, see the current release documentation.
Whilst developing with Elasticsearch using NEST, it can be extremely valuable to see the requests that NEST generates and sends to Elasticsearch, as well as the responses returned.
There are a couple of popular ways of capturing this information
In addition to logging requests and responses, Elasticsearch 5.0+ also sends back warning headers in the response, to notify you if you are using a feature that is marked as deprecated.