Skip to content

Commit

Permalink
[Filebeat] Fix Cisco ASA/FTD configs that used var.input syslog (#30072)
Browse files Browse the repository at this point in the history
#26159 accidentally introduced a breaking change for existing users of Cisco ASA
and FTD that specified `var.input: syslog`. `syslog` was effectively an alias for the UDP
input and the alias support was removed.

This change allows `var.input: syslog` to continue working as it did before.

(cherry picked from commit 3ddfd1f)

# Conflicts:
#	x-pack/filebeat/module/cisco/asa/config/input.yml
#	x-pack/filebeat/module/cisco/ftd/config/input.yml
  • Loading branch information
andrewkroh authored and mergify-bot committed Feb 10, 2022
1 parent 40c557f commit c99fa76
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,19 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d

- Add fonts to support more different types of characters for multiple languages. {pull}29861[29861]

- auditd: Add error.message to events when processing fails. {pull}30009[30009]

*Filebeat*

- tcp/unix input: Stop accepting connections after socket is closed. {pull}29712[29712]
- Fix using log_group_name_prefix in aws-cloudwatch input. {pull}29695[29695]
- aws-s3: fix race condition in states used by s3-poller. {issue}30123[30123] {pull}30131[30131]
- cisco module: Fix change the broke ASA and FTD configs that used `var.input: syslog`. {pull}30072[30072]
- Fix broken Kafka input {issue}29746[29746] {pull}30277[30277]


*Heartbeat*

*Metricbeat*


Expand Down
13 changes: 13 additions & 0 deletions x-pack/filebeat/module/cisco/asa/config/input.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,19 @@ paths:
{{ end }}
exclude_files: [".gz$"]

<<<<<<< HEAD
=======
{{ else if eq .input "syslog" }}
type: udp
host: "{{.syslog_host}}:{{.syslog_port}}"

{{ else }}

type: {{.input}}
host: "{{.syslog_host}}:{{.syslog_port}}"
ssl: {{ .ssl | tojson }}

>>>>>>> 3ddfd1f063 ([Filebeat] Fix Cisco ASA/FTD configs that used var.input syslog (#30072))
{{ end }}

tags: {{.tags | tojson}}
Expand Down
13 changes: 13 additions & 0 deletions x-pack/filebeat/module/cisco/ftd/config/input.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,19 @@ paths:
{{ end }}
exclude_files: [".gz$"]

<<<<<<< HEAD
=======
{{ else if eq .input "syslog" }}
type: udp
host: "{{.syslog_host}}:{{.syslog_port}}"

{{ else }}

type: {{.input}}
host: "{{.syslog_host}}:{{.syslog_port}}"
ssl: {{ .ssl | tojson }}

>>>>>>> 3ddfd1f063 ([Filebeat] Fix Cisco ASA/FTD configs that used var.input syslog (#30072))
{{ end }}

tags: {{.tags | tojson}}
Expand Down

0 comments on commit c99fa76

Please sign in to comment.