Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add null checks and ignore_missing checks to the rename processor #7845

Merged
merged 9 commits into from Sep 21, 2023
5 changes: 5 additions & 0 deletions packages/apache/changelog.yml
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "1.15.1"
changes:
- description: Add null check and ignore_missing check to the rename processor
type: bugfix
link: https://github.com/elastic/integrations/pull/7845
- version: "1.15.0"
changes:
- description: Add ability to set condition for logs and metrics.
Expand Down
Expand Up @@ -13,6 +13,8 @@ processors:
- rename:
field: message
target_field: event.original
ignore_missing: true
if: 'ctx.event?.original == null'
- grok:
field: event.original
patterns:
Expand Down
2 changes: 1 addition & 1 deletion packages/apache/manifest.yml
@@ -1,7 +1,7 @@
format_version: 1.0.0
name: apache
title: Apache HTTP Server
version: "1.15.0"
version: "1.15.1"
license: basic
source:
license: Elastic-2.0
Expand Down
5 changes: 5 additions & 0 deletions packages/apache_tomcat/changelog.yml
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "0.12.3"
changes:
- description: Add null check and ignore_missing check to the rename processor
type: bugfix
link: https://github.com/elastic/integrations/pull/7845
- version: "0.12.2"
changes:
- description: Remove forwarded tag from metrics data streams.
Expand Down
Expand Up @@ -20,6 +20,7 @@ processors:
field: message
target_field: event.original
ignore_missing: true
if: 'ctx.event?.original == null'
- grok:
field: event.original
tag: 'grok_parse_log'
Expand Down
Expand Up @@ -20,6 +20,7 @@ processors:
field: message
target_field: event.original
ignore_missing: true
if: 'ctx.event?.original == null'
- grok:
field: event.original
tag: 'grok_parse_log'
Expand Down
Expand Up @@ -20,6 +20,7 @@ processors:
field: message
target_field: event.original
ignore_missing: true
if: 'ctx.event?.original == null'
- grok:
field: event.original
tag: 'grok_parse_log'
Expand Down
2 changes: 1 addition & 1 deletion packages/apache_tomcat/manifest.yml
@@ -1,7 +1,7 @@
format_version: 2.3.0
name: apache_tomcat
title: Apache Tomcat
version: "0.12.2"
version: "0.12.3"
description: Collect and parse logs and metrics from Apache Tomcat servers with Elastic Agent.
categories: ["web", "observability"]
type: integration
Expand Down
5 changes: 5 additions & 0 deletions packages/cassandra/changelog.yml
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "1.9.1"
changes:
- description: Add null check and ignore_missing check to the rename processor
type: bugfix
link: https://github.com/elastic/integrations/pull/7845
- version: "1.9.0"
changes:
- description: Enable time series data streams for the metrics datasets. This dramatically reduces storage for metrics and is expected to progressively improve query performance. For more details, see https://www.elastic.co/guide/en/elasticsearch/reference/current/tsds.html.
Expand Down
Expand Up @@ -20,7 +20,7 @@ processors:
field: message
target_field: event.original
ignore_missing: true
ignore_failure: true
if: 'ctx.event?.original == null'
- grok:
field: event.original
pattern_definitions:
Expand Down
2 changes: 1 addition & 1 deletion packages/cassandra/manifest.yml
@@ -1,7 +1,7 @@
format_version: 1.0.0
name: cassandra
title: Cassandra
version: "1.9.0"
version: "1.9.1"
license: basic
description: This Elastic integration collects logs and metrics from cassandra.
type: integration
Expand Down
5 changes: 5 additions & 0 deletions packages/ceph/changelog.yml
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "1.0.1"
changes:
- description: Add null check and ignore_missing check to the rename processor
type: bugfix
link: https://github.com/elastic/integrations/pull/7845
- version: "1.0.0"
changes:
- description: Make CEPH GA.
Expand Down
Expand Up @@ -17,6 +17,7 @@ processors:
field: message
target_field: event.original
ignore_missing: true
if: 'ctx.event?.original == null'
- json:
field: event.original
target_field: json
Expand Down
Expand Up @@ -17,6 +17,7 @@ processors:
field: message
target_field: event.original
ignore_missing: true
if: 'ctx.event?.original == null'
- json:
field: event.original
target_field: json
Expand Down
Expand Up @@ -17,6 +17,7 @@ processors:
field: message
target_field: event.original
ignore_missing: true
if: 'ctx.event?.original == null'
- json:
field: event.original
target_field: json
Expand Down
Expand Up @@ -17,6 +17,7 @@ processors:
field: message
target_field: event.original
ignore_missing: true
if: 'ctx.event?.original == null'
- json:
field: event.original
target_field: json
Expand Down
Expand Up @@ -17,6 +17,7 @@ processors:
field: message
target_field: event.original
ignore_missing: true
if: 'ctx.event?.original == null'
- json:
field: event.original
target_field: json
Expand Down
Expand Up @@ -17,6 +17,7 @@ processors:
field: message
target_field: event.original
ignore_missing: true
if: 'ctx.event?.original == null'
- json:
field: event.original
target_field: json
Expand Down
Expand Up @@ -17,6 +17,7 @@ processors:
field: message
target_field: event.original
ignore_missing: true
if: 'ctx.event?.original == null'
- json:
field: event.original
target_field: json
Expand Down
2 changes: 1 addition & 1 deletion packages/ceph/manifest.yml
@@ -1,7 +1,7 @@
format_version: 2.0.0
name: ceph
title: Ceph
version: "1.0.0"
version: "1.0.1"
description: This Elastic integration collects metrics from Ceph instance.
type: integration
categories:
Expand Down
5 changes: 5 additions & 0 deletions packages/citrix_adc/changelog.yml
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "1.0.1"
changes:
- description: Add null check and ignore_missing check to the rename processor
type: bugfix
link: https://github.com/elastic/integrations/pull/7845
- version: "1.0.0"
changes:
- description: Make Citrix ADC GA.
Expand Down
Expand Up @@ -30,7 +30,7 @@ processors:
field: message
target_field: event.original
ignore_missing: true
ignore_failure: true
if: 'ctx.event?.original == null'
- json:
field: event.original
target_field: json
Expand Down
Expand Up @@ -30,7 +30,7 @@ processors:
field: message
target_field: event.original
ignore_missing: true
ignore_failure: true
if: 'ctx.event?.original == null'
- json:
field: event.original
target_field: json
Expand Down
Expand Up @@ -30,7 +30,7 @@ processors:
field: message
target_field: event.original
ignore_missing: true
ignore_failure: true
if: 'ctx.event?.original == null'
- json:
field: event.original
target_field: json
Expand Down
Expand Up @@ -30,7 +30,7 @@ processors:
field: message
target_field: event.original
ignore_missing: true
ignore_failure: true
if: 'ctx.event?.original == null'
- json:
field: event.original
target_field: json
Expand Down
Expand Up @@ -30,7 +30,7 @@ processors:
field: message
target_field: event.original
ignore_missing: true
ignore_failure: true
if: 'ctx.event?.original == null'
- json:
field: event.original
target_field: json
Expand Down
2 changes: 1 addition & 1 deletion packages/citrix_adc/manifest.yml
@@ -1,7 +1,7 @@
format_version: 2.0.0
name: citrix_adc
title: Citrix ADC
version: "1.0.0"
version: "1.0.1"
description: This Elastic integration collects metrics from Citrix ADC product.
type: integration
categories:
Expand Down
5 changes: 5 additions & 0 deletions packages/golang/changelog.yml
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "0.4.3"
changes:
- description: Add null check and ignore_missing check to the rename processor
type: bugfix
link: https://github.com/elastic/integrations/pull/7845
- version: "0.4.2"
changes:
- description: Add metric_type for expvar data stream.
Expand Down
Expand Up @@ -20,6 +20,7 @@ processors:
field: message
target_field: event.original
ignore_missing: true
if: 'ctx.event?.original == null'
- json:
field: event.original
target_field: json
Expand Down
Expand Up @@ -20,6 +20,7 @@ processors:
field: message
target_field: event.original
ignore_missing: true
if: 'ctx.event?.original == null'
- json:
field: event.original
target_field: json
Expand Down
2 changes: 1 addition & 1 deletion packages/golang/manifest.yml
@@ -1,7 +1,7 @@
format_version: 2.0.0
name: golang
title: Golang
version: "0.4.2"
version: "0.4.3"
description: This Elastic integration collects metrics from Golang applications.
type: integration
categories:
Expand Down
5 changes: 5 additions & 0 deletions packages/hadoop/changelog.yml
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "1.1.8"
changes:
- description: Add null check and ignore_missing check to the rename processor
type: bugfix
link: https://github.com/elastic/integrations/pull/7845
- version: "1.1.7"
changes:
- description: Add metric_type mapping for `namenode` datastream.
Expand Down
Expand Up @@ -20,6 +20,7 @@ processors:
field: message
target_field: event.original
ignore_missing: true
if: 'ctx.event?.original == null'
- json:
field: event.original
target_field: json
Expand Down
2 changes: 1 addition & 1 deletion packages/hadoop/manifest.yml
@@ -1,7 +1,7 @@
format_version: 1.0.0
name: hadoop
title: Hadoop
version: "1.1.7"
version: "1.1.8"
license: basic
description: Collect metrics from Apache Hadoop with Elastic Agent.
type: integration
Expand Down
5 changes: 5 additions & 0 deletions packages/haproxy/changelog.yml
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "1.8.3"
changes:
- description: Add null check and ignore_missing check to the rename processor
type: bugfix
link: https://github.com/elastic/integrations/pull/7845
- version: "1.8.2"
changes:
- description: Add dimensions mapping for `info` datastream.
Expand Down
Expand Up @@ -9,6 +9,7 @@ processors:
field: message
target_field: event.original
ignore_missing: true
if: 'ctx.event?.original == null'
- grok:
field: event.original
patterns:
Expand Down
2 changes: 1 addition & 1 deletion packages/haproxy/manifest.yml
@@ -1,6 +1,6 @@
name: haproxy
title: HAProxy
version: "1.8.2"
version: "1.8.3"
description: Collect logs and metrics from HAProxy servers with Elastic Agent.
type: integration
icons:
Expand Down
5 changes: 5 additions & 0 deletions packages/iis/changelog.yml
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "1.15.1"
changes:
- description: Add null check and ignore_missing check to the rename processor
type: bugfix
link: https://github.com/elastic/integrations/pull/7845
- version: "1.15.0"
changes:
- description: Add ability to set condition for logs and metrics.
Expand Down
Expand Up @@ -9,6 +9,7 @@ processors:
field: message
target_field: event.original
ignore_missing: true
if: 'ctx.event?.original == null'
- grok:
field: event.original
ignore_missing: true
Expand Down
Expand Up @@ -8,6 +8,7 @@ processors:
field: message
target_field: event.original
ignore_missing: true
if: 'ctx.event?.original == null'
- grok:
field: event.original
patterns:
Expand Down
2 changes: 1 addition & 1 deletion packages/iis/manifest.yml
@@ -1,6 +1,6 @@
name: iis
title: IIS
version: "1.15.0"
version: "1.15.1"
description: Collect logs and metrics from Internet Information Services (IIS) servers with Elastic Agent.
type: integration
icons:
Expand Down
5 changes: 5 additions & 0 deletions packages/kafka/changelog.yml
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "1.9.2"
changes:
- description: Add null check and ignore_missing check to the rename processor
type: bugfix
link: https://github.com/elastic/integrations/pull/7845
- version: "1.9.1"
changes:
- description: Migrate visualizations to lens.
Expand Down
Expand Up @@ -8,6 +8,7 @@ processors:
field: message
target_field: event.original
ignore_missing: true
if: 'ctx.event?.original == null'
- grok:
field: event.original
trace_match: true
Expand Down
2 changes: 1 addition & 1 deletion packages/kafka/manifest.yml
@@ -1,7 +1,7 @@
format_version: 1.0.0
name: kafka
title: Kafka
version: "1.9.1"
version: "1.9.2"
license: basic
description: Collect logs and metrics from Kafka servers with Elastic Agent.
type: integration
Expand Down
5 changes: 5 additions & 0 deletions packages/microsoft_sqlserver/changelog.yml
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "2.1.2"
changes:
- description: Add null check and ignore_missing check to the rename processor
type: bugfix
link: https://github.com/elastic/integrations/pull/7845
- version: "2.1.1"
changes:
- description: Add ecs mapping for error.code to avoid type conflicts
Expand Down