Skip to content

Commit ed19772

Browse files
authored
Include 'degraded' status in elastic agent unhealthy agent rule (#15773)
* Include 'degraded' status in elastic agent unhealthy agent rule
1 parent 19643b3 commit ed19772

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

packages/elastic_agent/changelog.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
# newer versions go on top
2+
- version: "2.6.6"
3+
changes:
4+
- description: Fixes Unhealthy Elastic Agent alert rule to include degraded status
5+
type: bugfix
6+
link: https://github.com/elastic/integrations/pull/15773
27
- version: "2.6.5"
38
changes:
49
- description: >-

packages/elastic_agent/kibana/alerting_rule_template/elastic-agent-unhealthy-status.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"thresholdComparator": ">",
1717
"size": 100,
1818
"esqlQuery": {
19-
"esql": "FROM logs-elastic_agent.status_change-default, *:logs-elastic_agent.status_change-default\n| WHERE data_stream.dataset == \"elastic_agent.status_change\" and agentless == false and status == \"error\""
19+
"esql": "FROM logs-elastic_agent.status_change-default, *:logs-elastic_agent.status_change-default\n| WHERE data_stream.dataset == \"elastic_agent.status_change\" and agentless == false and status in (\"error\", \"degraded\")"
2020
},
2121
"aggType": "count",
2222
"groupBy": "row",

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.5
3+
version: 2.6.6
44
description: Collect logs and metrics from Elastic Agents.
55
type: integration
66
format_version: 3.5.0

0 commit comments

Comments
 (0)