Docs: CONSOLEify transport docs (#23027)

This is related to #23001.
This commit is contained in:
Tim Brooks 2017-02-07 20:06:28 -06:00 committed by GitHub
parent 693b0017af
commit ad4bfa2307
2 changed files with 15 additions and 12 deletions

View File

@ -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',

View File

@ -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