-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[UII] Allow to reset log level for agents >= 8.15.0 #183434
Conversation
…vel on agent action api
…how apply changes
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
Pinging @elastic/fleet (Team:Fleet) |
/ci |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM for the text! 👍
I'll add this setting into the Fleet settings page as well.
💚 Build Succeeded
Metrics [docs]Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: cc @jen-huang |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes LGTM
Summary
Resolves #180778
This PR allows agent log level to be reset back to the level set on its policy (or if not set, simply the default agent level, see elastic/elastic-agent#3090).
To achieve this, this PR:
null
to be passed for the log level settings action, i.e.:Apply changes
on the agent details > Logs tabReset to policy
on the agent details > Logs tabCaveats
log_level
metadata is not accurate elastic-agent#4747), so the initial selection on the agent log level could be wronglog_level
source should be reported elastic-agent#4748), so that's whyApply changes
andReset to policy
are always shownTesting
Use the latest
8.15.0-SNAPSHOT
for agents or fleet server to test this changeChecklist
Delete any items that are not applicable to this PR.