Hi,
Filebeat version is 7.10.2
According to Configuring Input Type for Filebeat Module I was trying to do the same for the index:
# cat /etc/filebeat/modules.d/haproxy.yml
# Module: haproxy
# Docs: https://www.elastic.co/guide/en/beats/filebeat/7.10/filebeat-module-haproxy.html
- module: haproxy
# All logs
log.input.index: "filebeat-haproxy-%{[agent.version]}-%{+yyyy.MM}"
log:
enabled: true
# Set which input to use between syslog (default) or file.
#var.input: file
# Set custom paths for the log files. If left empty,
# Filebeat will choose the paths depending on your OS.
var.paths: /var/log/haproxy/access.log
No errors, filebeat starts up and running, but filebeat-haproxy index is not created.
Any ideas why?
Thanks in advance!