diff --git a/docs/build.gradle b/docs/build.gradle index 3060ab92f9c..4a6d233eabc 100644 --- a/docs/build.gradle +++ b/docs/build.gradle @@ -128,7 +128,6 @@ buildRestTests.expectedUnconvertedCandidates = [ 'reference/modules/scripting/native.asciidoc', 'reference/modules/scripting/security.asciidoc', 'reference/modules/scripting/using.asciidoc', - 'reference/modules/transport.asciidoc', 'reference/modules/cross-cluster-search.asciidoc', // this is hart to test since we need 2 clusters -- maybe we can trick it into referencing itself... 'reference/query-dsl/exists-query.asciidoc', 'reference/query-dsl/function-score-query.asciidoc', diff --git a/docs/reference/modules/transport.asciidoc b/docs/reference/modules/transport.asciidoc index 231666d6bed..8ed36ce8e74 100644 --- a/docs/reference/modules/transport.asciidoc +++ b/docs/reference/modules/transport.asciidoc @@ -88,24 +88,28 @@ by settings the level of the `org.elasticsearch.transport.TransportService.trace [source,js] -------------------------------------------------- -curl -XPUT localhost:9200/_cluster/settings -d '{ - "transient" : { - "logger.org.elasticsearch.transport.TransportService.tracer" : "TRACE" - } -}' +PUT _cluster/settings +{ + "transient" : { + "logger.org.elasticsearch.transport.TransportService.tracer" : "TRACE" + } +} -------------------------------------------------- +// CONSOLE You can also control which actions will be traced, using a set of include and exclude wildcard patterns. By default every request will be traced except for fault detection pings: [source,js] -------------------------------------------------- -curl -XPUT localhost:9200/_cluster/settings -d '{ - "transient" : { - "transport.tracer.include" : "*" - "transport.tracer.exclude" : "internal:discovery/zen/fd*" - } -}' +PUT _cluster/settings +{ + "transient" : { + "transport.tracer.include" : "*", + "transport.tracer.exclude" : "internal:discovery/zen/fd*" + } +} -------------------------------------------------- +// CONSOLE