# CONFIGURED BY ANSIBLE # remove syslog kind of prefix #[PARSER] # name haproxy_log # format regex # regex ^[^ ]+ [^ ]+ [^ ]+ [^ ]+ [^ ]+: (?.*) # [NOTICE] (79703) : Loading success.","sensor":"haproxy@haproxy-zone-b #[PARSER] # name haproxy_message_only # format regex # regex ^\[(?[^ ]*)\] +[^ ]* *: (?.*) # split-up the request field [PARSER] name split_request format regex regex ^(?[^ ]*) (?[^ ]*) HTTP/(?[^ ]*) # help differenciate web pages - strip out the query string [PARSER] name strip_querystr format regex regex ^(?[^?]*) # obfuscate only the secret part # catch token= password= search_field=code&search_value= code= and avoid barcode= [PARSER] name obfus_secrets format regex regex ^(?.+(token|password|search_field=code&search_value|[?&]code)=)[^&]+(?.*)