--
You received this message because you are subscribed to the Google Groups "Fluentd Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fluentd+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
%{NOTSPACE} \[%{HAPROXYDATE:accept_date}\] %{NOTSPACE:frontend_name} %{NOTSPACE:backend_name}/%{NOTSPACE:server_name} %{INT:time_request}/%{INT:time_queue}/%{INT:time_backend_connect}/%{INT:time_backend_response}/%{NOTSPACE:time_duration} %{INT:http_status_code} %{NOTSPACE:bytes_read} %{DATA:captured_request_cookie} %{DATA:captured_response_cookie} %{NOTSPACE:termination_state} %{INT:actconn}/%{INT:feconn}/%{INT:beconn}/%{INT:srvconn}/%{NOTSPACE:retries} %{INT:srv_queue}/%{INT:backend_queue} (\{%{LDHAPROXYCAPTUREDREQUESTHEADERS}\})?( )?(\{%{HAPROXYCAPTUREDRESPONSEHEADERS}\})?( )? "(<BADREQ>|(%{WORD:http_verb} (%{URIPROTO:http_proto}://)?(?:%{USER:http_user}(?::[^@]*)?@)?(?:%{URIHOST:http_host})?(?:%{URIPATHPARAM:uri_path})?( HTTP/%{NUMBER:http_version})?))?"
LDHAPROXYCAPTUREDREQUESTHEADERS %{DATA:user_agent}\|%{DATA:request_id}\|%{DATA:account_id}\|%{DATA:user}\|%{DATA:origin}\|%{DATA:auth_kind}\|%{DATA:environment_id}
<source>
@type syslog
port 2514
protocol_type udp
tag haproxy
format grok
grok_pattern %{NOTSPACE} \[%{HAPROXYDATE:accept_date}\] %{NOTSPACE:frontend_name} %{NOTSPACE:backend_name}/%{NOTSPACE:server_name} %{INT:time_request}/%{INT:time_queue}/%{INT:time_backend_connect}/%{INT:time_backend_response}/%{NOTSPACE:time_duration} %{INT:http_status_code} %{NOTSPACE:bytes_read} %{DATA:captured_request_cookie} %{DATA:captured_response_cookie} %{NOTSPACE:termination_state} %{INT:actconn}/%{INT:feconn}/%{INT:beconn}/%{INT:srvconn}/%{NOTSPACE:retries} %{INT:srv_queue}/%{INT:backend_queue} (\{%{LDHAPROXYCAPTUREDREQUESTHEADERS}\})?( )?(\{%{HAPROXYCAPTUREDRESPONSEHEADERS}\})?( )? "(<BADREQ>|(%{WORD:http_verb} (%{URIPROTO:http_proto}://)?(?:%{USER:http_user}(?::[^@]*)?@)?(?:%{URIHOST:http_host})?(?:%{URIPATHPARAM:uri_path})?( HTTP/%{NUMBER:http_version})?))?"
custom_pattern_path /etc/td-agent/grok/haproxy_grok_patterns
</source>
<match haproxy.**>
@type null
</match>
2016-04-25 17:44:26 +0000 haproxy.local1.info: {"host":"ip-10-10-1-251","ident":"haproxy","pid":"10627","message":"10.10.3.85:52610 [25/Apr/2016:17:44:26.573] attribute-recorder-3030-in attribute-recorder-3030-out/attribute-recorder-10.10.3.62 0/0/1/0/1 202 132 - - ---- 27/20/3/0/0 0/0 {Go-http-client/1.1|571E577A3A099577AB|560d7010f6281a925f604343||event-recorder|token|560d7010f1e8582fe3000006}
You received this message because you are subscribed to a topic in the Google Groups "Fluentd Google Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/fluentd/3iXJNOwfpcM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to fluentd+u...@googlegroups.com.
(?<message>\S*?+ \[(?<time>\d{2}+/\w+/\d{4}+:\d{2}+:\d{2}+:\d{2}+\.\d{3}+)\] (?<frontend_name>\S+) (?<backend_name>\S+)/(?<server_name>\S+) (?<time_request>\d+)/(?<time_queue>\d+)/(?<time_backend_connect>\d+)/(?<time_backend_response>\d+)/(?<time_duration>\d+) (?<http_status_code>\d+) (?<bytes_read>\S++) \S++ \S++ (?<termination_state>\S+) (?<act_conn>\d+)/(?<fe_conn>\d+)/(?<be_conn>\d+)/(?<srv_conn>\d+)/(?<retries>\S+) (?<srv_queue>\d+)/(?<backend_queue>\d+) {(?<user_agent>[^|]*+)\|(?<request_id>[^|]*+)\|(?<account_id>[0-9a-fA-f]*?)\|(?<user>[^|]*?)\|(?<origin>[^|]*?)\|(?<auth_kind>[^|]*?)\|(?<environment_id>[0-9a-fA-f]*+)}(?: )? "(?<http_verb>\w+) (?:(?<http_proto>\w+)://)?(?<http_host>[^/]+)?(?<uri_path>\S+)(?: HTTP/(?<http_version>[^"]*))?")
To unsubscribe from this group and stop receiving emails from it, send an email to fluentd+unsubscribe@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Fluentd Google Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/fluentd/3iXJNOwfpcM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to fluentd+unsubscribe@googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "Fluentd Google Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/fluentd/3iXJNOwfpcM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to fluentd+u...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Fluentd Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fluentd+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Yeah, that would be a safe assumption.
<source> @type syslog port 1514 tag haproxyjson
format json time_key timestamp</source>
2016-05-04 17:29:51 +0000 [warn]: pattern not match: "May 4 17:29:51 haproxy[13]: {\"message\":\"192.168.59.3:57366 [04/May/2016:17:29:51.437] app1 app1/app1_1 0/0/1/12/13 200 7872 - - ---- 1/1/0/1/0 0/0 {Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.86 Safari/537.36||||||} \"GET / HTTP/1.1\"\",\"timestamp\":1462382991,\"frontend_name\":\"app1\",\"backend_name\":\"app1\",\"server\":\"app1_1\",\"time_request\":0,\"time_queue\":0,\"time_backend_connect\":1,\"time_backend_response\":12,\"time_duration\":13,\"http_status_code\":200}"
<source> @type syslog port 1514 tag haproxyjson
format syslog </source>
<filter haproxyjson.**> @type parser format json time_key timestamp key_name message</filter>
...
--
2016-05-06 03:59:22 +0000 [warn]: req_hdrs does not exist
<source> @type syslog
port 2514 protocol_type udp tag haproxy
format tsv time_format %s time_key timestamp keys syslog_header,timestamp,frontend_name,backend_name,server,time_request,time_queue,time_backend_connect,time_backend_response,time_duration,http_status_code,bytes_read,termination_state,act_conn,fe_conn,be_conn,srv_conn,retries,srv_queue,backend_queue,req_hdrs types timestamp:time,frontend_name:string,backend_name:string,server:string,time_request:integer,time_queue:integer,time_backend_connect:integer,time_backend_response:integer,time_duration:integer,http_status_code:integer,bytes_read:integer,termination_state:string,act_conn:integer,fe_conn:integer,be_conn:integer,srv_conn:integer,retries:integer,srv_queue:integer,backend_queue:integer</source>
<filter haproxy.**> @type parser format /{(?<user_agent>[^|]*+)\|(?<request_id>[^|]*+)\|(?<account_id>[0-9a-fA-f]*?)\|(?<user>[^|]*?)\|(?<origin>[^|]*?)\|(?<auth_kind>[^|]*?)\|(?<environment_id>[0-9a-fA-f]*+)}"(?<http_verb>\w+) (?:(?<http_proto>\w+)://)?(?<http_host>[^/]+)?(?<uri_path>\S+)(?: HTTP/(?<http_version>[^"]*))?"/ key_name req_hdrs reserve_data yes</filter>