infra/roles/haproxy/templates/filebeat-haproxy.yml.j2

22 lines
283 B
Django/Jinja

---
- type: filestream
paths:
- /var/log/haproxy.log
scan_frequency: 10s
enabled: true
parsers:
- ndjson:
keys_under_root: true
add_error_key: true
fields_under_root: true
fields:
service.type: haproxy
group: lb
tags:
- haproxy