Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggest DEBUG level logging instead for SAML #74661

Merged
merged 6 commits into from
Jul 30, 2021
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions x-pack/docs/en/security/troubleshooting.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -698,29 +698,30 @@ 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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Very detailed debug logging can be enabled specifically for the SAML realm by
If the issue you encounter is not covered in the list above, it might be helpful to enable additional logging for the SAML realm to further troubleshoot the issue. You can enable debug logging by

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this suggestion @jkakavas -- I incorporated a version of that text into my changes.

setting the following transient setting:

[source, shell]
-----------------------------------------------
PUT /_cluster/settings
{
"transient": {
"logger.org.elasticsearch.xpack.security.authc.saml": "trace"
"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`:

[source,properties]
----------------
logger.saml.name = org.elasticsearch.xpack.security.authc.saml
logger.saml.level = TRACE
logger.saml.level = DEBUG
----------------

See <<configuring-logging-levels,configuring logging levels>> for more information.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DaveCTurner Hope this is the right syntax for proper linking 😄


[[trb-security-internalserver]]
=== Internal Server Error in Kibana

Expand Down