Skip to content

Commit

Permalink
tines: ensure event.kind is correctly set for pipeline errors (#6655)
Browse files Browse the repository at this point in the history
  • Loading branch information
MakoWish authored Jun 21, 2023
1 parent 73fc1f0 commit cf30a37
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 7 deletions.
5 changes: 5 additions & 0 deletions packages/tines/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "0.5.0"
changes:
- description: Ensure event.kind is correctly set for pipeline errors.
type: enhancement
link: https://github.com/elastic/integrations/pull/6655
- version: "0.4.0"
changes:
- description: Update package to ECS 8.8.0.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,9 @@ processors:
ignore_missing: true

on_failure:
- set:
field: error.message
value: "{{ _ingest.on_failure_message }}"
- 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 @@ -72,6 +72,9 @@ processors:
ignore_missing: true

on_failure:
- set:
field: error.message
value: "{{ _ingest.on_failure_message }}"
- set:
field: event.kind
value: pipeline_error
- append:
field: error.message
value: '{{{ _ingest.on_failure_message }}}'
2 changes: 1 addition & 1 deletion packages/tines/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
format_version: 2.7.0
name: tines
title: "Tines"
version: "0.4.0"
version: "0.5.0"
description: "Tines Logs & Time Saved Reports"
type: integration
categories:
Expand Down

0 comments on commit cf30a37

Please sign in to comment.