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] Editing ILM policies is really difficult since they get overwritten each package update #139327

Open
andrewvc opened this issue Aug 23, 2022 · 3 comments
Labels
enhancement New value added to drive a business result Team:Fleet Team label for Observability Data Collection Fleet team

Comments

@andrewvc
Copy link
Contributor

There's no great way to change retention or other ILM settings with fleet. We do document how to do it with custom component templates, but the process is embarassingly painful, especially for the common task of updating an existing ILM policy's lifecycle only.

Ideally users would be able to:

  1. Go to a data stream in kibana stack management
  2. Click on the datastream
  3. Click on the ILM policy
  4. Customize the policy and save it

and have it persist.

This actually does work today, but the issue is that on the next package update the change will be overwritten.

I'm not certain how to best solve this, but ideally we'd just have one lifecycle policy that is updated unless a user has modified it.

CC @ruflin who requested I make this issue after a discussion about UX here

@andrewvc andrewvc added enhancement New value added to drive a business result Team:Fleet Team label for Observability Data Collection Fleet team labels Aug 23, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@wurstbrotfan
Copy link

from an Elastic user's persepective I agree that the recommended way of editing custom component templates in order to change lifecycle policy is "painful". Some integrations come with multiple data streams, thus for a new system multiple custom component templates need to be edited.

@ipaqmaster
Copy link

It would be nice if we could attach our custom/existing non-stack-managed policies to Fleet policies instead of watching cluster's with Fleet/Elastic Agent's fail to manage the storage correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Team:Fleet Team label for Observability Data Collection Fleet team
Projects
None yet
Development

No branches or pull requests

4 participants