Skip to content

Commit

Permalink
Fix contains check for forwarded tag (elastic#1820)
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-gr authored Oct 5, 2021
1 parent f91774a commit 742eda3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions packages/haproxy/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: Fix logic that checks for the 'forwarded' tag
type: bugfix
link: https://github.com/elastic/integrations/pull/1820
- version: "0.6.0"
changes:
- description: Update to ECS 1.12.0
Expand Down
2 changes: 1 addition & 1 deletion packages/haproxy/data_stream/log/agent/stream/log.yml.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tags:
{{#each tags as |tag i|}}
- {{tag}}
{{/each}}
{{#contains tags "forwarded"}}
{{#contains "forwarded" tags}}
publisher_pipeline.disable_host: true
{{/contains}}
exclude_files: [".gz$"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,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/haproxy/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: haproxy
title: HAProxy
version: 0.6.0
version: 0.6.1
description: This Elastic integration collects logs and metrics from HAProxy instances
type: integration
icons:
Expand Down

0 comments on commit 742eda3

Please sign in to comment.