Closed danwald closed 9 years ago
I was using your niffy utility to parse my haproxy logs. However, I couldn't get any lines processed because my haproxy slug had a hostname (server has an updated hosts file with '-') instead of localhost/IP.
Here's a relevant snip of the man 5 hosts
Host names may contain only alphanumeric characters, minus signs ("-"), and periods (".").
Added a unittest too. Thanks for the utility, Cheers,
Many thanks for this pull request!
I was using your niffy utility to parse my haproxy logs. However, I couldn't get any lines processed because my haproxy slug had a hostname (server has an updated hosts file with '-') instead of localhost/IP.
Here's a relevant snip of the man 5 hosts
Added a unittest too. Thanks for the utility, Cheers,