NETWAYS / ansible-collection-elasticstack

A collection to install and manage the Elastic Stack
GNU General Public License v3.0
9 stars 8 forks source link

[Bug]: beats_filebeat_syslog_udp_port and beats_filebeat_syslog_tcp_port have no impact #309

Closed lcndsmr closed 5 months ago

lcndsmr commented 5 months ago

Please try to fill out as much of the information below as you can. Thank you!

Which version contains the bug?

No response

Describe the bug

The beats_filebeat_syslog_udp_port and beats_filebeat_syslog_tcp_port variables can be set, but have no impact, since they are not used in the filebeat.yml.j2 template and the ports are hard-coded.

Pull request to fix this will follow shortly

How to recreate the bug?

Set up filebeat with the beats role and values in beats_filebeat_syslog_udp_port: 5000 and beats_filebeat_syslog_tcp_port: 5001

Have a look in filebeat.yml.

Expectet result:

filebeat.inputs:
  - type: tcp
    enabled: true
    max_message_size: 10MiB
    host: "0.0.0.0:5000"
  - type: udp
    enabled: true
    max_message_size: 10MiB
    host: "0.0.0.0:5001"

actual behavior:

filebeat.inputs:
  - type: tcp
    enabled: true
    max_message_size: 10MiB
    host: "0.0.0.0:514"
  - type: udp
    enabled: true
    max_message_size: 10MiB
    host: "0.0.0.0:514"