Skip to content

Commit 85b68c9

Browse files
authored
[AWS] Add the ignore_missing and null checks to rename processor (#7933)
* Add the ignore_missing and null checks to rename processor * update changelog: PR ID * Update default.yml * Update manifest.yml
1 parent 7dd75d0 commit 85b68c9

File tree

7 files changed

+12
-2
lines changed

7 files changed

+12
-2
lines changed

packages/aws/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.8.2"
3+
changes:
4+
- description: Add null checks and ignore_missing checks to the rename processor
5+
type: bugfix
6+
link: https://github.com/elastic/integrations/pull/7933
27
- version: "2.8.1"
38
changes:
49
- description: Fix incorrect billing metrics displayed under AWS Billing overview dashboard.

packages/aws/data_stream/cloudwatch_logs/elasticsearch/ingest_pipeline/default.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ processors:
88
- set:
99
field: event.original
1010
copy_from: message
11-
override: false
11+
ignore_empty_value: true
12+
if: 'ctx.event?.original == null'
1213
- set:
1314
field: cloud.provider
1415
value: aws

packages/aws/data_stream/guardduty/elasticsearch/ingest_pipeline/default.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ processors:
1414
field: message
1515
target_field: event.original
1616
ignore_missing: true
17+
if: 'ctx.event?.original == null'
1718
- json:
1819
field: event.original
1920
target_field: json

packages/aws/data_stream/inspector/elasticsearch/ingest_pipeline/default.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ processors:
1414
field: message
1515
target_field: event.original
1616
ignore_missing: true
17+
if: 'ctx.event?.original == null'
1718
- json:
1819
field: event.original
1920
target_field: json

packages/aws/data_stream/securityhub_findings/elasticsearch/ingest_pipeline/default.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ processors:
1414
field: message
1515
target_field: event.original
1616
ignore_missing: true
17+
if: 'ctx.event?.original == null'
1718
- json:
1819
field: event.original
1920
target_field: json

packages/aws/data_stream/securityhub_insights/elasticsearch/ingest_pipeline/default.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ processors:
1414
field: message
1515
target_field: event.original
1616
ignore_missing: true
17+
if: 'ctx.event?.original == null'
1718
- json:
1819
field: event.original
1920
target_field: json

packages/aws/manifest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
format_version: 3.0.0
22
name: aws
33
title: AWS
4-
version: 2.8.1
4+
version: 2.8.2
55
description: Collect logs and metrics from Amazon Web Services (AWS) with Elastic Agent.
66
type: integration
77
categories:

0 commit comments

Comments
 (0)