Skip to content

Commit 30f1321

Browse files
authored
Add data retention for elastic agent status_change_logs data stream (#15296)
* Add data retention and ILM policy for elastic agent status_change_logs data stream
1 parent e0ccf81 commit 30f1321

File tree

5 files changed

+21
-2
lines changed

5 files changed

+21
-2
lines changed

packages/elastic_agent/changelog.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# newer versions go on top
2-
- version: "2.6.1"
2+
- version: "2.6.2"
3+
changes:
4+
- description: Add retention limit for status change logs data stream
5+
type: enhancement
6+
link: "https://github.com/elastic/integrations/pull/15296"
7+
- version: "2.6.1"
38
changes:
49
- description: Remove otelconsumer from Agent metrics dashboard
510
type: bugfix
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"policy": {
3+
"phases": {
4+
"delete": {
5+
"min_age": "90d",
6+
"actions": {
7+
"delete": {}
8+
}
9+
}
10+
}
11+
}
12+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
data_retention: "90d"

packages/elastic_agent/data_stream/status_change_logs/manifest.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
title: Elastic Agent Status Change
22
dataset: elastic_agent.status_change
33
type: logs
4+
ilm_policy: logs-elastic_agent.status_change_logs-default_policy
45
elasticsearch:
56
index_template:
67
mappings:

packages/elastic_agent/manifest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: elastic_agent
22
title: Elastic Agent
3-
version: 2.6.1
3+
version: 2.6.2
44
description: Collect logs and metrics from Elastic Agents.
55
type: integration
66
format_version: 3.1.4

0 commit comments

Comments
 (0)