-
Notifications
You must be signed in to change notification settings - Fork 491
Add data retention for elastic agent status_change_logs data stream #15296
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
Add data retention for elastic agent status_change_logs data stream #15296
Conversation
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.
🚀
Pinging @elastic/elastic-agent (Team:Elastic-Agent) |
@MichelLosier if this datastream only exist from 9.2 onwards, shouldn't we update the Kibana version constraint of this package? |
The datastream exist as part of the elastic-agent package, so both the datastream definition and the template are contained in that version, and could be installed in kibana < 9.2 |
The datastream was already introduced in version 2.3.0 of this package, if we were to kibana version constraint this maybe a breaking change for the package. |
18e1427
to
b9f9b95
Compare
💚 Build Succeeded
History
|
|
Package elastic_agent - 2.6.2 containing this change is available at https://epr.elastic.co/package/elastic_agent/2.6.2/ |
…lastic#15296) * Add data retention and ILM policy for elastic agent status_change_logs data stream
Proposed commit message
Resolves: https://github.com/elastic/ingest-dev/issues/5692
This adds a 90 day data retention limit for the
elastic_agent.status_change
data stream.Prior to this change, this data stream did not have a retention limit set. Kibana has a task that writes to this
elastic_agent.status_change
every minute only if there is a change in status.The primary use case for this data is for setting up alert rule monitoring of elastic agents. 90 days would allow users to analyze trends with status changes that may occur with an agent over the span of weeks or months. This also aligns with similar retention of our per 1m metric default policies for APM: https://www.elastic.co/docs/solutions/observability/apm/index-lifecycle-management.
Checklist
changelog.yml
file.Author's Checklist
How to test this PR locally
Related issues
Screenshots