Skip to content

Commit bc4bdcf

Browse files
committed
Apply changes to all pipelines
1 parent b4b8ab6 commit bc4bdcf

File tree

12 files changed

+27
-10
lines changed

12 files changed

+27
-10
lines changed

packages/elastic_agent/data_stream/auditbeat_logs/elasticsearch/ingest_pipeline/default.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
description: "Pipeline for adapting Elastic Agent fields"
33
processors:
4+
# Rename field from older versions of Beats.
45
- rename:
56
field: monitoring.metrics.libbeat.pipeline.queue.filled.pct.events
67
target_field: monitoring.metrics.libbeat.pipeline.queue.filled.events

packages/elastic_agent/data_stream/cloudbeat_logs/_dev/test/pipeline/test-queue-events-moved.json-expected.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
"pipeline": {
88
"queue": {
99
"filled": {
10-
"events": 10,
11-
"pct": {}
10+
"events": 10
1211
}
1312
}
1413
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
---
22
description: "Pipeline for adapting Elastic Agent fields"
33
processors:
4+
# Rename field from older versions of Beats.
45
- rename:
56
field: monitoring.metrics.libbeat.pipeline.queue.filled.pct.events
67
target_field: monitoring.metrics.libbeat.pipeline.queue.filled.events
78
ignore_missing: true
9+
- remove:
10+
field: monitoring.metrics.libbeat.pipeline.queue.filled.pct
11+
ignore_missing: true

packages/elastic_agent/data_stream/filebeat_logs/elasticsearch/ingest_pipeline/default.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
description: "Pipeline for adapting Elastic Agent fields"
33
processors:
4+
# Rename field from older versions of Beats.
45
- rename:
56
field: monitoring.metrics.libbeat.pipeline.queue.filled.pct.events
67
target_field: monitoring.metrics.libbeat.pipeline.queue.filled.events

packages/elastic_agent/data_stream/heartbeat_logs/_dev/test/pipeline/test-queue-events-moved.json-expected.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
"pipeline": {
88
"queue": {
99
"filled": {
10-
"events": 10,
11-
"pct": {}
10+
"events": 10
1211
}
1312
}
1413
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
---
22
description: "Pipeline for adapting Elastic Agent fields"
33
processors:
4+
# Rename field from older versions of Beats.
45
- rename:
56
field: monitoring.metrics.libbeat.pipeline.queue.filled.pct.events
67
target_field: monitoring.metrics.libbeat.pipeline.queue.filled.events
78
ignore_missing: true
9+
- remove:
10+
field: monitoring.metrics.libbeat.pipeline.queue.filled.pct
11+
ignore_missing: true

packages/elastic_agent/data_stream/metricbeat_logs/_dev/test/pipeline/test-queue-events-moved.json-expected.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
"pipeline": {
88
"queue": {
99
"filled": {
10-
"events": 10,
11-
"pct": {}
10+
"events": 10
1211
}
1312
}
1413
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
---
22
description: "Pipeline for adapting Elastic Agent fields"
33
processors:
4+
# Rename field from older versions of Beats.
45
- rename:
56
field: monitoring.metrics.libbeat.pipeline.queue.filled.pct.events
67
target_field: monitoring.metrics.libbeat.pipeline.queue.filled.events
78
ignore_missing: true
9+
- remove:
10+
field: monitoring.metrics.libbeat.pipeline.queue.filled.pct
11+
ignore_missing: true

packages/elastic_agent/data_stream/osquerybeat_logs/_dev/test/pipeline/test-queue-events-moved.json-expected.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
"pipeline": {
88
"queue": {
99
"filled": {
10-
"events": 10,
11-
"pct": {}
10+
"events": 10
1211
}
1312
}
1413
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
---
22
description: "Pipeline for adapting Elastic Agent fields"
33
processors:
4+
# Rename field from older versions of Beats.
45
- rename:
56
field: monitoring.metrics.libbeat.pipeline.queue.filled.pct.events
67
target_field: monitoring.metrics.libbeat.pipeline.queue.filled.events
78
ignore_missing: true
9+
- remove:
10+
field: monitoring.metrics.libbeat.pipeline.queue.filled.pct
11+
ignore_missing: true

0 commit comments

Comments
 (0)