)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":28048,"name":"Will Szumski","email":"will@stackhpc.com","username":"jovial"},"change_message_id":"0d2461a8d94255b7525d5bba48b41cdaec211849","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"d0883031_7b583f59","updated":"2022-03-14 15:03:03.000000000","message":"Seems to follow the official recipe: https://www.fluentd.org/guides/recipes/haproxy-elasticsearch, so looks good to me. Any chance of a rebase?","commit_id":"2abd7d44a52a958f99ca7429db9252683dc0a33f"},{"author":{"_account_id":28048,"name":"Will Szumski","email":"will@stackhpc.com","username":"jovial"},"change_message_id":"bcace4000b10e861cc25460f95661d291fdeea61","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":4,"id":"3dcd5781_e4d99c77","updated":"2022-03-14 15:58:09.000000000","message":"I took a stab at rebasing this. I hope you don\u0027t mind... Not sure if my method of customising the match rule is the cleanest solution. If anyone can think of a cleaner approach, I\u0027m all ears.","commit_id":"963babb7a567fc48ac280cd1558209b9bfa4068f"}],"ansible/roles/common/templates/conf/filter/01-rewrite-0.12.conf.j2":[{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"a40c5cb2c0bf5c70ebcaba278749fae2a4a2ac55","unresolved":true,"context_lines":[{"line_number":48,"context_line":"# Retag log messages from HAProxy according to log format"},{"line_number":49,"context_line":"\u003cmatch syslog.{{ syslog_haproxy_facility }}.**\u003e"},{"line_number":50,"context_line":"    @type rewrite_tag_filter"},{"line_number":51,"context_line":"    rewriterule1 Payload ^.*haproxy.*\\]: [^ ]+:[^ ]+ [^ ]+ [^ ]+ [^ ]+\\/[^ ]+ [^\\/]+\\/[^\\/]+\\/[^ ]+ [^ ]+ [^ ]+ \\S{2}[^\\/]+.*$ infra.haproxy.tcp"},{"line_number":52,"context_line":"    rewriterule2 Payload ^.*haproxy.*\\]: [^ ]+:[^ ]+ [^ ]+ [^ ]+ [^ ]+\\/[^ ]+ [^\\/]+\\/[^\\/]+\\/[^ ]+ [^ ]+ [^ ]+ \\S \\S \\S{4}[^\\/]+.*$ infra.haproxy.http"},{"line_number":53,"context_line":"\u003c/match\u003e"}],"source_content_type":"text/x-jinja2","patch_set":2,"id":"9b4c700e_b2a2126a","line":51,"updated":"2021-08-10 10:38:27.000000000","message":"Example:\n\nAug 10 00:00:04 haproxy[31]: 192.168.33.2:57530 [09/Aug/2021:23:59:51.081] mariadb_front mariadb_back/mark-aio 1/0/13473 5672 -- 8/8/7/7/0 0/0","commit_id":"f312519f4d5dae68720200aef8b0eafb2a7ee6c1"},{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"a40c5cb2c0bf5c70ebcaba278749fae2a4a2ac55","unresolved":true,"context_lines":[{"line_number":49,"context_line":"\u003cmatch syslog.{{ syslog_haproxy_facility }}.**\u003e"},{"line_number":50,"context_line":"    @type rewrite_tag_filter"},{"line_number":51,"context_line":"    rewriterule1 Payload ^.*haproxy.*\\]: [^ ]+:[^ ]+ [^ ]+ [^ ]+ [^ ]+\\/[^ ]+ [^\\/]+\\/[^\\/]+\\/[^ ]+ [^ ]+ [^ ]+ \\S{2}[^\\/]+.*$ infra.haproxy.tcp"},{"line_number":52,"context_line":"    rewriterule2 Payload ^.*haproxy.*\\]: [^ ]+:[^ ]+ [^ ]+ [^ ]+ [^ ]+\\/[^ ]+ [^\\/]+\\/[^\\/]+\\/[^ ]+ [^ ]+ [^ ]+ \\S \\S \\S{4}[^\\/]+.*$ infra.haproxy.http"},{"line_number":53,"context_line":"\u003c/match\u003e"}],"source_content_type":"text/x-jinja2","patch_set":2,"id":"c519aabd_468d3c3f","line":52,"updated":"2021-08-10 10:38:27.000000000","message":"Example:\n\nAug 10 00:00:50 haproxy[31]: 192.168.33.2:45156 [10/Aug/2021:00:00:50.030] placement_api_front placement_api_back/mark-aio 0/0/0/106/106 200 311 - - ---- 10/1/0/1/0 0/0 \\\"GET /resource_providers/dfcf7805-a43b-4e30-821b-3de37d4f3264/allocations HTTP/1.1\\\"","commit_id":"f312519f4d5dae68720200aef8b0eafb2a7ee6c1"},{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"a40c5cb2c0bf5c70ebcaba278749fae2a4a2ac55","unresolved":true,"context_lines":[{"line_number":50,"context_line":"    @type rewrite_tag_filter"},{"line_number":51,"context_line":"    rewriterule1 Payload ^.*haproxy.*\\]: [^ ]+:[^ ]+ [^ ]+ [^ ]+ [^ ]+\\/[^ ]+ [^\\/]+\\/[^\\/]+\\/[^ ]+ [^ ]+ [^ ]+ \\S{2}[^\\/]+.*$ infra.haproxy.tcp"},{"line_number":52,"context_line":"    rewriterule2 Payload ^.*haproxy.*\\]: [^ ]+:[^ ]+ [^ ]+ [^ ]+ [^ ]+\\/[^ ]+ [^\\/]+\\/[^\\/]+\\/[^ ]+ [^ ]+ [^ ]+ \\S \\S \\S{4}[^\\/]+.*$ infra.haproxy.http"},{"line_number":53,"context_line":"\u003c/match\u003e"}],"source_content_type":"text/x-jinja2","patch_set":2,"id":"e35b1423_3cef38cf","line":53,"updated":"2021-08-10 10:38:27.000000000","message":"I also see this, which doesn\u0027t seem to fit. What will happen to it?\n\nAug 10 00:00:11 haproxy[31]: Connect from 192.168.33.3:46502 to 192.168.33.3:61313 (status/HTTP)","commit_id":"f312519f4d5dae68720200aef8b0eafb2a7ee6c1"},{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"762ec2b30eb3a18f8a7f353614aea2c88b25ab8a","unresolved":true,"context_lines":[{"line_number":50,"context_line":"    @type rewrite_tag_filter"},{"line_number":51,"context_line":"    rewriterule1 Payload ^.*haproxy.*\\]: [^ ]+:[^ ]+ [^ ]+ [^ ]+ [^ ]+\\/[^ ]+ [^\\/]+\\/[^\\/]+\\/[^ ]+ [^ ]+ [^ ]+ \\S{2}[^\\/]+.*$ infra.haproxy.tcp"},{"line_number":52,"context_line":"    rewriterule2 Payload ^.*haproxy.*\\]: [^ ]+:[^ ]+ [^ ]+ [^ ]+ [^ ]+\\/[^ ]+ [^\\/]+\\/[^\\/]+\\/[^ ]+ [^ ]+ [^ ]+ \\S \\S \\S{4}[^\\/]+.*$ infra.haproxy.http"},{"line_number":53,"context_line":"\u003c/match\u003e"}],"source_content_type":"text/x-jinja2","patch_set":2,"id":"3887c1d3_ad1984d9","line":53,"in_reply_to":"e35b1423_3cef38cf","updated":"2021-08-10 13:03:26.000000000","message":"I don\u0027t see any of those messages in the zuul haproxy logs.","commit_id":"f312519f4d5dae68720200aef8b0eafb2a7ee6c1"}],"ansible/roles/common/templates/conf/filter/02-parser.conf.j2":[{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"a40c5cb2c0bf5c70ebcaba278749fae2a4a2ac55","unresolved":true,"context_lines":[{"line_number":29,"context_line":"# Parse HAProxy TCP logs"},{"line_number":30,"context_line":"\u003cfilter infra.haproxy.tcp\u003e"},{"line_number":31,"context_line":"    @type parser"},{"line_number":32,"context_line":"    format /^.*haproxy.*\\]: (?\u003cclient_ip\u003e[^ ]+):(?\u003cclient_port\u003e[^ ]+) \\[(?\u003caccept_date\u003e[^ ]+)\\] (?\u003cfrontend_name\u003e[^ ]+) (?\u003cbackend_name\u003e[^ ]+)\\/(?\u003cserver_name\u003e[^ ]+) ((?\u003ctw\u003e[^\\/]+)\\/(?\u003ctc\u003e[^\\/]+)\\/(?\u003ctt\u003e[^ ]+)) (?\u003cbytes_read\u003e[^ ]+) \\S{2} (?\u003cactconn\u003e[^\\/]+)\\/(?\u003cfeconn\u003e[^\\/]+)\\/(?\u003cbeconn\u003e[^\\/]+)\\/(?\u003csrv_conn\u003e[^\\/]+)\\/(?\u003cretries\u003e[^ ]+) (?\u003csrv_queue\u003e[^\\/]+)\\/(?\u003cbackend_queue\u003e[^ ]+)$/"},{"line_number":33,"context_line":"    time_format %d/%b/%Y:%k:%M:%S.%N"},{"line_number":34,"context_line":"    time_key accept_date"},{"line_number":35,"context_line":"    key_name Payload"}],"source_content_type":"text/x-jinja2","patch_set":2,"id":"7ac71a66_91f49d96","line":32,"updated":"2021-08-10 10:38:27.000000000","message":"Example:\n\nAug 10 00:00:04 haproxy[31]: 192.168.33.2:57530 [09/Aug/2021:23:59:51.081] mariadb_front mariadb_back/mark-aio 1/0/13473 5672 -- 8/8/7/7/0 0/0\n\nLooks correct, according to https://www.haproxy.com/documentation/hapee/latest/onepage/#8.2.3","commit_id":"f312519f4d5dae68720200aef8b0eafb2a7ee6c1"},{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"a40c5cb2c0bf5c70ebcaba278749fae2a4a2ac55","unresolved":true,"context_lines":[{"line_number":39,"context_line":"# Parse HAProxy HTTP logs"},{"line_number":40,"context_line":"\u003cfilter infra.haproxy.http\u003e"},{"line_number":41,"context_line":"    @type parser"},{"line_number":42,"context_line":"    format /^.*haproxy.*\\]: (?\u003cclient_ip\u003e[^ ]+):(?\u003cclient_port\u003e[^ ]+) \\[(?\u003caccept_date\u003e[^ ]+)\\] (?\u003cfrontend_name\u003e[^ ]+) (?\u003cbackend_name\u003e[^ ]+)\\/(?\u003cserver_name\u003e[^ ]+) (((?\u003ctq\u003e[^\\/]+)\\/(?\u003ctw\u003e[^\\/]+)\\/(?\u003ctc\u003e[^\\/]+)\\/(?\u003ctr\u003e[^\\/]+)\\/(?\u003ctt\u003e[^ ]+) (?\u003cstatus_code\u003e[^ ]+))) (?\u003cbytes_read\u003e[^ ]+) (\\S \\S \\S{4}|\\S{2}) (?\u003cactconn\u003e[^\\/]+)\\/(?\u003cfeconn\u003e[^\\/]+)\\/(?\u003cbeconn\u003e[^\\/]+)\\/(?\u003csrv_conn\u003e[^\\/]+)\\/(?\u003cretries\u003e[^ ]+) (?\u003csrv_queue\u003e[^\\/]+)\\/(?\u003cbackend_queue\u003e[^ ]+) \"(?\u003chttp_req\u003e[^ ]+) (?\u003chttp_path\u003e[^ ]+) (?\u003chttp_version\u003e[^ ]+)\"$/"},{"line_number":43,"context_line":"    time_format %d/%b/%Y:%k:%M:%S.%N"},{"line_number":44,"context_line":"    time_key accept_date"},{"line_number":45,"context_line":"    key_name Payload"}],"source_content_type":"text/x-jinja2","patch_set":2,"id":"15026b4e_6b4bb1f6","line":42,"updated":"2021-08-10 10:38:27.000000000","message":"Example:\n\nAug 10 00:00:50 haproxy[31]: 192.168.33.2:45156 [10/Aug/2021:00:00:50.030] placement_api_front placement_api_back/mark-aio 0/0/0/106/106 200 311 - - ---- 10/1/0/1/0 0/0 \\\"GET /resource_providers/dfcf7805-a43b-4e30-821b-3de37d4f3264/allocations HTTP/1.1\\\"","commit_id":"f312519f4d5dae68720200aef8b0eafb2a7ee6c1"},{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"a40c5cb2c0bf5c70ebcaba278749fae2a4a2ac55","unresolved":true,"context_lines":[{"line_number":39,"context_line":"# Parse HAProxy HTTP logs"},{"line_number":40,"context_line":"\u003cfilter infra.haproxy.http\u003e"},{"line_number":41,"context_line":"    @type parser"},{"line_number":42,"context_line":"    format /^.*haproxy.*\\]: (?\u003cclient_ip\u003e[^ ]+):(?\u003cclient_port\u003e[^ ]+) \\[(?\u003caccept_date\u003e[^ ]+)\\] (?\u003cfrontend_name\u003e[^ ]+) (?\u003cbackend_name\u003e[^ ]+)\\/(?\u003cserver_name\u003e[^ ]+) (((?\u003ctq\u003e[^\\/]+)\\/(?\u003ctw\u003e[^\\/]+)\\/(?\u003ctc\u003e[^\\/]+)\\/(?\u003ctr\u003e[^\\/]+)\\/(?\u003ctt\u003e[^ ]+) (?\u003cstatus_code\u003e[^ ]+))) (?\u003cbytes_read\u003e[^ ]+) (\\S \\S \\S{4}|\\S{2}) (?\u003cactconn\u003e[^\\/]+)\\/(?\u003cfeconn\u003e[^\\/]+)\\/(?\u003cbeconn\u003e[^\\/]+)\\/(?\u003csrv_conn\u003e[^\\/]+)\\/(?\u003cretries\u003e[^ ]+) (?\u003csrv_queue\u003e[^\\/]+)\\/(?\u003cbackend_queue\u003e[^ ]+) \"(?\u003chttp_req\u003e[^ ]+) (?\u003chttp_path\u003e[^ ]+) (?\u003chttp_version\u003e[^ ]+)\"$/"},{"line_number":43,"context_line":"    time_format %d/%b/%Y:%k:%M:%S.%N"},{"line_number":44,"context_line":"    time_key accept_date"},{"line_number":45,"context_line":"    key_name Payload"}],"source_content_type":"text/x-jinja2","patch_set":2,"id":"2b0f24b3_f9277bdd","line":42,"range":{"start_line":42,"start_character":453,"end_line":42,"end_character":461},"updated":"2021-08-10 10:38:27.000000000","message":"nit: http_method?","commit_id":"f312519f4d5dae68720200aef8b0eafb2a7ee6c1"},{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"a40c5cb2c0bf5c70ebcaba278749fae2a4a2ac55","unresolved":true,"context_lines":[{"line_number":39,"context_line":"# Parse HAProxy HTTP logs"},{"line_number":40,"context_line":"\u003cfilter infra.haproxy.http\u003e"},{"line_number":41,"context_line":"    @type parser"},{"line_number":42,"context_line":"    format /^.*haproxy.*\\]: (?\u003cclient_ip\u003e[^ ]+):(?\u003cclient_port\u003e[^ ]+) \\[(?\u003caccept_date\u003e[^ ]+)\\] (?\u003cfrontend_name\u003e[^ ]+) (?\u003cbackend_name\u003e[^ ]+)\\/(?\u003cserver_name\u003e[^ ]+) (((?\u003ctq\u003e[^\\/]+)\\/(?\u003ctw\u003e[^\\/]+)\\/(?\u003ctc\u003e[^\\/]+)\\/(?\u003ctr\u003e[^\\/]+)\\/(?\u003ctt\u003e[^ ]+) (?\u003cstatus_code\u003e[^ ]+))) (?\u003cbytes_read\u003e[^ ]+) (\\S \\S \\S{4}|\\S{2}) (?\u003cactconn\u003e[^\\/]+)\\/(?\u003cfeconn\u003e[^\\/]+)\\/(?\u003cbeconn\u003e[^\\/]+)\\/(?\u003csrv_conn\u003e[^\\/]+)\\/(?\u003cretries\u003e[^ ]+) (?\u003csrv_queue\u003e[^\\/]+)\\/(?\u003cbackend_queue\u003e[^ ]+) \"(?\u003chttp_req\u003e[^ ]+) (?\u003chttp_path\u003e[^ ]+) (?\u003chttp_version\u003e[^ ]+)\"$/"},{"line_number":43,"context_line":"    time_format %d/%b/%Y:%k:%M:%S.%N"},{"line_number":44,"context_line":"    time_key accept_date"},{"line_number":45,"context_line":"    key_name Payload"}],"source_content_type":"text/x-jinja2","patch_set":2,"id":"e4ef971d_46711f98","line":42,"range":{"start_line":42,"start_character":231,"end_line":42,"end_character":233},"updated":"2021-08-10 10:38:27.000000000","message":"should it be ta?\n\nhttps://cbonte.github.io/haproxy-dconv/1.8/configuration.html#8.2.3","commit_id":"f312519f4d5dae68720200aef8b0eafb2a7ee6c1"}]}
