Skip to content

Commit

Permalink
Add null and ignore_missing check to handle event.original field. (#8624
Browse files Browse the repository at this point in the history
)

* Add null and ignore_missing check to handle event.original field.
  • Loading branch information
ritalwar authored Dec 5, 2023
1 parent de067e9 commit c28d057
Show file tree
Hide file tree
Showing 28 changed files with 58 additions and 16 deletions.
5 changes: 5 additions & 0 deletions packages/activemq/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: 0.14.1
changes:
- description: Add null and ignore_missing check to handle event.original field.
type: bugfix
link: https://github.com/elastic/integrations/pull/8624
- version: 0.14.0
changes:
- description: Update the package format_version to 3.0.0.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ processors:
field: event.original
value: "{{{message}}}"
ignore_empty_value: true
ignore_failure: true
if: 'ctx.event?.original == null'
- grok:
field: message
pattern_definitions:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ processors:
field: event.original
value: "{{{message}}}"
ignore_empty_value: true
ignore_failure: true
if: 'ctx.event?.original == null'
- grok:
field: message
pattern_definitions:
Expand Down
2 changes: 1 addition & 1 deletion packages/activemq/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: activemq
title: ActiveMQ
version: "0.14.0"
version: "0.14.1"
description: Collect logs and metrics from ActiveMQ instances with Elastic Agent.
type: integration
icons:
Expand Down
5 changes: 5 additions & 0 deletions packages/coredns/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: 0.6.1
changes:
- description: Add null and ignore_missing check to handle event.original field.
type: bugfix
link: https://github.com/elastic/integrations/pull/8624
- version: 0.6.0
changes:
- description: Update the package format_version to 3.0.0.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ processors:
field: event.original
copy_from: message
ignore_empty_value: true
if: 'ctx.event?.original == null'
- set:
field: event.created
copy_from: "@timestamp"
Expand Down
2 changes: 1 addition & 1 deletion packages/coredns/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
format_version: "3.0.0"
name: coredns
title: "CoreDNS"
version: "0.6.0"
version: "0.6.1"
description: "Collect logs from CoreDNS instances with Elastic Agent."
type: integration
categories:
Expand Down
5 changes: 5 additions & 0 deletions packages/ibmmq/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "1.2.4"
changes:
- description: Add null and ignore_missing check to handle event.original field.
type: bugfix
link: https://github.com/elastic/integrations/pull/8624
- version: "1.2.3"
changes:
- description: Remove forwarded tag from metrics data stream.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ processors:
field: message
target_field: event.original
ignore_missing: true
ignore_failure: true
if: 'ctx.event?.original == null'
- remove:
field:
- log_timestamp
Expand Down
2 changes: 1 addition & 1 deletion packages/ibmmq/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
format_version: 1.0.0
name: ibmmq
title: IBM MQ
version: "1.2.3"
version: "1.2.4"
license: basic
description: Collect logs and metrics from IBM MQ with Elastic Agent.
type: integration
Expand Down
5 changes: 5 additions & 0 deletions packages/mongodb/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
- version: 1.12.1
changes:
- description: Add null and ignore_missing check to handle event.original field.
type: bugfix
link: https://github.com/elastic/integrations/pull/8624
- version: 1.12.0
changes:
- description: Update the package format_version to 3.0.0.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ processors:
- rename:
field: message
target_field: event.original
ignore_missing: true
if: 'ctx.event?.original == null'
- rename:
field: mongodb.log.msg
target_field: message
Expand Down
2 changes: 1 addition & 1 deletion packages/mongodb/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: mongodb
title: MongoDB
version: "1.12.0"
version: "1.12.1"
description: Collect logs and metrics from MongoDB instances with Elastic Agent.
type: integration
categories:
Expand Down
5 changes: 5 additions & 0 deletions packages/salesforce/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "0.12.1"
changes:
- description: Add null and ignore_missing check to handle event.original field.
type: bugfix
link: https://github.com/elastic/integrations/pull/8624
- version: "0.12.0"
changes:
- description: Limit request tracer log count to five.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ processors:
- set:
field: event.original
value: '{{{message}}}'
ignore_failure: true
ignore_empty_value: true
if: 'ctx.event?.original == null'
- fingerprint:
fields:
- json.REQUEST_ID
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ processors:
- set:
field: event.original
value: '{{{message}}}'
ignore_failure: true
ignore_empty_value: true
if: 'ctx.event?.original == null'
- fingerprint:
fields:
- json.REQUEST_ID
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ processors:
- set:
field: event.original
value: '{{{message}}}'
ignore_failure: true
ignore_empty_value: true
if: 'ctx.event?.original == null'
- set:
field: salesforce.login.access_mode
value: Stream
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ processors:
- set:
field: event.original
value: '{{{message}}}'
ignore_failure: true
ignore_empty_value: true
if: 'ctx.event?.original == null'
- fingerprint:
fields:
- json.REQUEST_ID
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ processors:
field: message
target_field: event.original
ignore_missing: true
ignore_failure: true
if: 'ctx.event?.original == null'
- set:
field: salesforce.logout.access_mode
value: Stream
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ processors:
field: message
target_field: event.original
ignore_missing: true
ignore_failure: true
if: 'ctx.event?.original == null'
- set:
field: salesforce.setup_audit_trail.access_mode
value: "REST"
Expand Down
2 changes: 1 addition & 1 deletion packages/salesforce/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
format_version: 3.0.0
name: salesforce
title: Salesforce
version: "0.12.0"
version: "0.12.1"
description: Collect logs from Salesforce with Elastic Agent.
type: integration
categories:
Expand Down
5 changes: 5 additions & 0 deletions packages/spring_boot/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "1.2.1"
changes:
- description: Add null and ignore_missing check to handle event.original field.
type: bugfix
link: https://github.com/elastic/integrations/pull/8624
- version: "1.2.0"
changes:
- description: Add support for GC datastream on Spring Boot 2.x with LTS JDK versions 11, 17, and 21.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ processors:
field: message
target_field: event.original
ignore_missing: true
if: 'ctx.event?.original == null'
- set:
field: event.dataset
value: spring_boot.audit_events
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,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/spring_boot/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
format_version: "3.0.0"
name: spring_boot
title: Spring Boot
version: "1.2.0"
version: "1.2.1"
description: This Elastic integration collects logs and metrics from Spring Boot integration.
type: integration
categories:
Expand Down
5 changes: 5 additions & 0 deletions packages/vsphere/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "1.9.2"
changes:
- description: Add null and ignore_missing check to handle event.original field.
type: bugfix
link: https://github.com/elastic/integrations/pull/8624
- version: 1.9.1
changes:
- description: Update the README with limitations in Virtual Machine metrics.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ processors:
- rename:
field: message
target_field: event.original
ignore_missing: true
if: 'ctx.event?.original == null'
- grok:
description: Parse syslog header
field: event.original
Expand Down
2 changes: 1 addition & 1 deletion packages/vsphere/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
format_version: "3.0.0"
name: vsphere
title: VMware vSphere
version: "1.9.1"
version: "1.9.2"
description: This Elastic integration collects metrics and logs from vSphere/vCenter servers
type: integration
categories:
Expand Down

0 comments on commit c28d057

Please sign in to comment.