Closed JulienChampseix closed 7 years ago
this is because of #2178, Go doesn't support negative lookaheads
Thanks @sparrc for your quick response ! (as always ;) ) FYI, i have opened an issue on go github (hope to have a workaround soon). Don't hesitate to add more details if you can provide more infos.
Directions
Trouble around haproxy grok pattern which looks not supported in telegraf
Bug report
Relevant telegraf.conf:
System info:
[Telegraf v1.1.2 (git: release-1.1.0 3da3a2279108d02c2158782794532de7cd7deacd)]
Steps to reproduce:
Edit telegraf.conf + uncomment inputs.logparser and inputs.logparser.grok
Add
patterns = ["%{HAPROXYHTTP}"]
Add
measurement = "metrics_haproxy_logs"
Add those custom_patterns
Restart Telegraf
Logs
The measurement
metrics_haproxy_logs
is not created instead of other measurement (cpu, memory,..) are populated.If i put only those custom_patterns, it's works :
Any idea about this trouble ?