| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 | ==== Request tracingYou can trace individual requests made on the HTTP and transport layers.WARNING: Tracing can generate extremely high log volumes that can destabilizeyour cluster. Do not enable request tracing on busy or important clusters.[[http-rest-request-tracer]]===== REST request tracerThe HTTP layer has a dedicated tracer that logs incoming requests and thecorresponding outgoing responses. Activate the tracer by setting the level ofthe `org.elasticsearch.http.HttpTracer` logger to `TRACE`:[source,console]--------------------------------------------------PUT _cluster/settings{   "transient" : {      "logger.org.elasticsearch.http.HttpTracer" : "TRACE"   }}--------------------------------------------------You can also control which URIs will be traced, using a set of include andexclude wildcard patterns. By default every request will be traced.[source,console]--------------------------------------------------PUT _cluster/settings{   "transient" : {      "http.tracer.include" : "*",      "http.tracer.exclude" : ""   }}--------------------------------------------------[[transport-tracer]]===== Transport tracerThe transport layer has a dedicated tracer that logs incoming and outgoingrequests and responses. Activate the tracer by setting the level of the`org.elasticsearch.transport.TransportService.tracer` logger to `TRACE`:[source,console]--------------------------------------------------PUT _cluster/settings{   "transient" : {      "logger.org.elasticsearch.transport.TransportService.tracer" : "TRACE"   }}--------------------------------------------------You can also control which actions will be traced, using a set of include andexclude wildcard patterns. By default every request will be traced except forfault detection pings:[source,console]--------------------------------------------------PUT _cluster/settings{   "transient" : {      "transport.tracer.include" : "*",      "transport.tracer.exclude" : "internal:coordination/fault_detection/*"   }}--------------------------------------------------
 |