Skip to content

Commit

Permalink
suricata: ensure event.kind is correctly set for pipeline errors (#6625)
Browse files Browse the repository at this point in the history
  • Loading branch information
MakoWish authored Jun 20, 2023
1 parent 2ca9c42 commit bb70c15
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 2 deletions.
5 changes: 5 additions & 0 deletions packages/suricata/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "2.9.0"
changes:
- description: Ensure event.kind is correctly set for pipeline errors.
type: enhancement
link: https://github.com/elastic/integrations/pull/6625
- version: "2.8.0"
changes:
- description: Update package to ECS 8.8.0.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -680,5 +680,8 @@ processors:
ignore_missing: true
on_failure:
- set:
field: event.kind
value: pipeline_error
- append:
field: error.message
value: '{{{ _ingest.on_failure_message }}}'
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,8 @@ processors:
}
on_failure:
- set:
field: event.kind
value: pipeline_error
- append:
field: error.message
value: '{{{ _ingest.on_failure_message }}}'
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,8 @@ processors:
}
on_failure:
- set:
field: event.kind
value: pipeline_error
- append:
field: error.message
value: '{{{ _ingest.on_failure_message }}}'
Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,8 @@ processors:
ignore_missing: true
on_failure:
- set:
field: event.kind
value: pipeline_error
- append:
field: error.message
value: '{{{ _ingest.on_failure_message }}}'
Original file line number Diff line number Diff line change
Expand Up @@ -185,5 +185,8 @@ processors:
ignore_missing: true
on_failure:
- set:
field: event.kind
value: pipeline_error
- append:
field: error.message
value: '{{{ _ingest.on_failure_message }}}'
value: '{{{ _ingest.on_failure_message }}}'
2 changes: 1 addition & 1 deletion packages/suricata/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: suricata
title: Suricata
version: "2.8.0"
version: "2.9.0"
release: ga
description: Collect logs from Suricata with Elastic Agent.
type: integration
Expand Down

0 comments on commit bb70c15

Please sign in to comment.