Skip to content

Commit

Permalink
Fix Cisco ASA/FTD configs that used var.input syslog
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.
  • Loading branch information
andrewkroh authored and mergify-bot committed Feb 9, 2022
1 parent cc634f1 commit 075eae9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...main[Check the HEAD dif

*Filebeat*

- aws-s3: Improve gzip detection to avoid false negatives. {issue}29968[29968]
- cisco module: Fix change the broke ASA and FTD configs that used `var.input: syslog`. {pull}30072[30072]
- decode_cef: Fix panic when recovering from invalid CEF extensions that contain escape characters. {issue}30010[30010]

*Heartbeat*

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

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

{{ else }}

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

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

{{ else }}

type: {{.input}}
Expand Down

0 comments on commit 075eae9

Please sign in to comment.