-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Fleet] fix remote output health reporting if remote es output is def…
…ault (#178857) ## Summary Closes #177927 Replaced "default" with real output id in full agent policy. This fixes the issue that the remote es health reporting was incorrect if the output was set as default. More explanation on the bug: #177927 (comment) To verify: - create a remote es output and set as default (both data and monitoring) - create an agent policy that uses default output - enroll an agent - expect that the agent sends system and elastic-agent metrics/logs to remote es - verify that the remote es health badge shows up on UI <img width="1283" alt="image" src="https://github.com/elastic/kibana/assets/90178898/348406d4-69e6-4eda-b396-635771d1edf3"> <img width="695" alt="image" src="https://github.com/elastic/kibana/assets/90178898/cd03310c-d50d-42ea-8f28-136bf068c52d"> ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
- Loading branch information
1 parent
5614bd7
commit 674a750
Showing
5 changed files
with
34 additions
and
38 deletions.
There are no files selected for viewing
28 changes: 14 additions & 14 deletions
28
...plugins/fleet/server/services/agent_policies/__snapshots__/full_agent_policy.test.ts.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters