[Sentinel_one] Add ILM Policy for unified alert data stream#17964
[Sentinel_one] Add ILM Policy for unified alert data stream#17964brijesh-elastic wants to merge 3 commits intoelastic:mainfrom
Conversation
|
Pinging @elastic/security-service-integrations (Team:Security-Service Integrations) |
✅ Vale Linting ResultsNo issues found on modified lines! The Vale linter checks documentation changes against the Elastic Docs style guide. To use Vale locally or report issues, refer to Elastic style guide for Vale. |
| "hot": { | ||
| "actions": { | ||
| "rollover": { | ||
| "max_age": "15d", |
There was a problem hiding this comment.
🔴 Critical ilm/default_policy.json:7
The delete phase uses "min_age": "15d", which causes data to be deleted 15 days after index creation even though lifecycle.yml declares data_retention: "30d". Users will lose data 15 days earlier than expected. Update both the rollover max_age and delete min_age to "30d" to match the declared retention.
- "max_age": "15d",
+ "max_age": "30d",🚀 Reply "fix it for me" or copy this AI Prompt for your agent:
In file packages/sentinel_one/data_stream/unified_alert/elasticsearch/ilm/default_policy.json around line 7:
The delete phase uses `"min_age": "15d"`, which causes data to be deleted 15 days after index creation even though `lifecycle.yml` declares `data_retention: "30d"`. Users will lose data 15 days earlier than expected. Update both the rollover `max_age` and delete `min_age` to `"30d"` to match the declared retention.
There was a problem hiding this comment.
According to documentation, the min_age in delete phase is relative to the index roll over time.
So, the order is:
- Index creation: day 0
- Index rollover: after day 15
- Index deletion: day 30 (15 days from roll over)
🚀 Benchmarks reportTo see the full report comment with |
💚 Build Succeeded
|
Proposed commit message
Checklist
changelog.ymlfile.How to test this PR locally
Related issues