Skip to content

Commit

Permalink
filebeat,x-pack/filebeat: prevent master=>event.original rename failu…
Browse files Browse the repository at this point in the history
…res (#39588)
  • Loading branch information
efd6 authored May 17, 2024
1 parent 1628475 commit 6975676
Show file tree
Hide file tree
Showing 14 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,8 @@ https://github.com/elastic/beats/compare/v8.8.1\...main[Check the HEAD diff]
- Improve logging of request and response with request trace logging in error conditions. {pull}39455[39455]
- Add HTTP metrics to CEL input. {issue}39501[39501] {pull}39503[39503]
- Add default user-agent to CEL HTTP requests. {issue}39502[39502] {pull}39587[39587]
- Improve reindexing support in security module pipelines. {issue}38224[38224] {pull}[]
- Improve reindexing support in security module pipelines. {issue}38224[38224] {pull}39588[39588]

*Auditbeat*

Expand Down
2 changes: 2 additions & 0 deletions filebeat/module/santa/log/ingest/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ processors:
- rename:
field: message
target_field: event.original
ignore_missing: true
if: ctx.event?.original == null
- date:
field: process.start
target_field: process.start
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ processors:
field: message
target_field: event.original
ignore_missing: true
if: ctx.event?.original == null
- grok:
field: event.original
patterns:
Expand Down
1 change: 1 addition & 0 deletions x-pack/filebeat/module/cisco/umbrella/ingest/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ processors:
- set:
field: event.original
value: "{{message}}"
if: ctx.event?.original == null
############
# DNS Logs #
############
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ processors:
field: message
target_field: event.original
ignore_failure: true
if: ctx.event?.original == null
- json:
field: event.original
target_field: json
Expand Down
1 change: 1 addition & 0 deletions x-pack/filebeat/module/iptables/log/ingest/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ processors:
- rename:
field: message
target_field: event.original
if: ctx.event?.original == null
- grok:
field: iptables.ubiquiti.rule_set
ignore_missing: true
Expand Down
1 change: 1 addition & 0 deletions x-pack/filebeat/module/panw/panos/ingest/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ processors:
field: message
target_field: event.original
ignore_failure: true
if: ctx.event?.original == null

# Get the timezone from the IETF header if present. Otherwise the timezone
# value added by the add_locale processor will be used.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ processors:
field: message
target_field: event.original
ignore_missing: true
if: ctx.event?.original == null
- json:
field: event.original
target_field: abusech.malware
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ processors:
field: message
target_field: event.original
ignore_missing: true
if: ctx.event?.original == null
- json:
field: event.original
target_field: abusech.url
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ processors:
field: message
target_field: event.original
ignore_missing: true
if: ctx.event?.original == null
- json:
field: event.original
target_field: anomali.limo
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ processors:
field: message
target_field: event.original
ignore_missing: true
if: ctx.event?.original == null
- json:
field: event.original
target_field: abusech.malwarebazaar
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,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
1 change: 1 addition & 0 deletions x-pack/filebeat/module/threatintel/otx/ingest/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ processors:
field: message
target_field: event.original
ignore_missing: true
if: ctx.event?.original == null
- json:
field: event.original
target_field: otx
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,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

0 comments on commit 6975676

Please sign in to comment.