From 7259d2259598b4a9fe1461f6acd8ece781272f5c Mon Sep 17 00:00:00 2001 From: Pius Date: Mon, 28 Jun 2021 15:27:31 -0700 Subject: [PATCH 1/3] Suggest DEBUG level logging instead for SAML --- x-pack/docs/en/security/troubleshooting.asciidoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/x-pack/docs/en/security/troubleshooting.asciidoc b/x-pack/docs/en/security/troubleshooting.asciidoc index a4d9b47aace0e..f508392a394a6 100644 --- a/x-pack/docs/en/security/troubleshooting.asciidoc +++ b/x-pack/docs/en/security/troubleshooting.asciidoc @@ -698,7 +698,7 @@ the `basic` `authProvider` in {kib}. The process is documented in the *Logging:* -Very detailed trace logging can be enabled specifically for the SAML realm by +Very detailed debug logging can be enabled specifically for the SAML realm by setting the following transient setting: [source, shell] @@ -706,7 +706,7 @@ setting the following transient setting: PUT /_cluster/settings { "transient": { - "logger.org.elasticsearch.xpack.security.authc.saml": "trace" + "logger.org.elasticsearch.xpack.security.authc.saml": "debug" } } ----------------------------------------------- @@ -718,7 +718,7 @@ Alternatively, you can add the following lines to the end of the [source,properties] ---------------- logger.saml.name = org.elasticsearch.xpack.security.authc.saml -logger.saml.level = TRACE +logger.saml.level = DEBUG ---------------- [[trb-security-internalserver]] From 7d134e7dfaa5126d29a025e8508be297a8ec302c Mon Sep 17 00:00:00 2001 From: Pius Date: Tue, 29 Jun 2021 18:46:39 -0700 Subject: [PATCH 2/3] Update troubleshooting.asciidoc --- x-pack/docs/en/security/troubleshooting.asciidoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/x-pack/docs/en/security/troubleshooting.asciidoc b/x-pack/docs/en/security/troubleshooting.asciidoc index f508392a394a6..1e9fc9ce02923 100644 --- a/x-pack/docs/en/security/troubleshooting.asciidoc +++ b/x-pack/docs/en/security/troubleshooting.asciidoc @@ -711,7 +711,6 @@ PUT /_cluster/settings } ----------------------------------------------- - Alternatively, you can add the following lines to the end of the `log4j2.properties` configuration file in the `ES_PATH_CONF`: @@ -721,6 +720,8 @@ logger.saml.name = org.elasticsearch.xpack.security.authc.saml logger.saml.level = DEBUG ---------------- +See <> for more information. + [[trb-security-internalserver]] === Internal Server Error in Kibana From f4493aca84f80e2b2854078428ba9f72e65053ef Mon Sep 17 00:00:00 2001 From: Adam Locke Date: Thu, 29 Jul 2021 12:28:20 -0400 Subject: [PATCH 3/3] Incorporate reviewer feedback --- x-pack/docs/en/security/troubleshooting.asciidoc | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/x-pack/docs/en/security/troubleshooting.asciidoc b/x-pack/docs/en/security/troubleshooting.asciidoc index 1e9fc9ce02923..b2fc2103ee5c2 100644 --- a/x-pack/docs/en/security/troubleshooting.asciidoc +++ b/x-pack/docs/en/security/troubleshooting.asciidoc @@ -698,18 +698,19 @@ the `basic` `authProvider` in {kib}. The process is documented in the *Logging:* -Very detailed debug logging can be enabled specifically for the SAML realm by -setting the following transient setting: +If the previous resolutions do not solve your issue, enable additional +logging for the SAML realm to troubleshoot further. You can enable debug +logging by configuring the following transient setting: -[source, shell] ------------------------------------------------ +[source, console] +---- PUT /_cluster/settings { "transient": { "logger.org.elasticsearch.xpack.security.authc.saml": "debug" } } ------------------------------------------------ +---- Alternatively, you can add the following lines to the end of the `log4j2.properties` configuration file in the `ES_PATH_CONF`: @@ -720,7 +721,8 @@ logger.saml.name = org.elasticsearch.xpack.security.authc.saml logger.saml.level = DEBUG ---------------- -See <> for more information. +Refer to <> for more +information. [[trb-security-internalserver]] === Internal Server Error in Kibana