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

[Fleet] Handle output deletion via API and preconfiguration #126810

Closed
nchaulet opened this issue Mar 3, 2022 · 1 comment · Fixed by #127042
Closed

[Fleet] Handle output deletion via API and preconfiguration #126810

nchaulet opened this issue Mar 3, 2022 · 1 comment · Fixed by #127042
Assignees
Labels
Team:Fleet Team label for Observability Data Collection Fleet team v8.2.0

Comments

@nchaulet
Copy link
Member

nchaulet commented Mar 3, 2022

Description

By allowing user to have multiple output we allow user to delete output from kibana config file or via the output API. We should have predictable behavior on we handle this deletion and the impact on existing policies.

We should never have a state where an agent policy do not have an output assigned.

I think we can have the following behaviour consistent between the API and the preconfiguration

Via API

  • It should not be possible to delete a default output, (the user will have to create another default output to delete the previous default output)
  • If you delete an output the existing policies using that output should move to use the default output (this will throw if the default output is logstash and an existing policy use APM)

Via preconfiguration

  • If you delete an output the existing policies using that output should move to use the default output
  • if you delete a preconfigured default output and do not create a new one => we should make the delete preconfigured output non managed

cc @joshdover

@nchaulet nchaulet added Team:Fleet Team label for Observability Data Collection Fleet team v8.2.0 labels Mar 3, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Fleet Team label for Observability Data Collection Fleet team v8.2.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants