Skip to content

Commit

Permalink
Fix contains check for forwarded tag
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-gr committed Oct 5, 2021
1 parent 31bc4c9 commit 1852f01
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions packages/cef/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: Fix logic that checks for the 'forwarded' tag
type: bugfix
link: https://github.com/elastic/integrations/pull/1802
- version: "1.2.0"
changes:
- description: Add CEF time zone config option.
Expand Down
2 changes: 1 addition & 1 deletion packages/cef/data_stream/log/agent/stream/log.yml.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ tags:
{{#each tags as |tag i|}}
- {{tag}}
{{/each}}
{{#contains tags "forwarded"}}
{{#contains "forwarded" tags}}
publisher_pipeline.disable_host: true
{{/contains}}
processors:
Expand Down
2 changes: 1 addition & 1 deletion packages/cef/data_stream/log/agent/stream/udp.yml.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ tags:
{{#each tags as |tag i|}}
- {{tag}}
{{/each}}
{{#contains tags "forwarded"}}
{{#contains "forwarded" tags}}
publisher_pipeline.disable_host: true
{{/contains}}
processors:
Expand Down
2 changes: 1 addition & 1 deletion packages/cef/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: cef
title: CEF
version: 1.2.0
version: 1.2.1
release: ga
description: This Elastic integration collects logs in common event format (CEF)
type: integration
Expand Down

0 comments on commit 1852f01

Please sign in to comment.