)]}'
{"ansible/roles/common/templates/conf/filter/01-rewrite-0.14.conf.j2":[{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"d2c0f234227863afaa98906587d29be9a9376e9a","unresolved":true,"context_lines":[{"line_number":9,"context_line":"  \u003crule\u003e"},{"line_number":10,"context_line":"    key     programname"},{"line_number":11,"context_line":"    pattern ^(aodh_wsgi_access|barbican_api_uwsgi_access|zun_api_wsgi_access|vitrage_wsgi_access)$"},{"line_number":12,"context_line":"    tag wsgi_access"},{"line_number":13,"context_line":"  \u003c/rule\u003e"},{"line_number":14,"context_line":"  \u003crule\u003e"},{"line_number":15,"context_line":"    key     programname"}],"source_content_type":"text/x-jinja2","patch_set":1,"id":"e0b933ad_a014b067","line":12,"range":{"start_line":12,"start_character":8,"end_line":12,"end_character":19},"updated":"2021-01-27 16:27:39.000000000","message":"Does this allow the logs to be parsed? It\u0027s in quite a different format isn\u0027t it?","commit_id":"7c8fcff970825062f699da16ee033dc2bbce10ba"},{"author":{"_account_id":17669,"name":"Doug Szumski","email":"doug@stackhpc.com","username":"DougSzumski"},"change_message_id":"76a12f6a8635886f873303678795234d4f47050f","unresolved":true,"context_lines":[{"line_number":9,"context_line":"  \u003crule\u003e"},{"line_number":10,"context_line":"    key     programname"},{"line_number":11,"context_line":"    pattern ^(aodh_wsgi_access|barbican_api_uwsgi_access|zun_api_wsgi_access|vitrage_wsgi_access)$"},{"line_number":12,"context_line":"    tag wsgi_access"},{"line_number":13,"context_line":"  \u003c/rule\u003e"},{"line_number":14,"context_line":"  \u003crule\u003e"},{"line_number":15,"context_line":"    key     programname"}],"source_content_type":"text/x-jinja2","patch_set":1,"id":"4ea0f4d5_e93bb893","line":12,"range":{"start_line":12,"start_character":8,"end_line":12,"end_character":19},"in_reply_to":"e0b933ad_a014b067","updated":"2021-01-27 17:00:54.000000000","message":"Yes, well, kind of. These uWSGI logs now get picked up in `templates/conf/input/04-openstack-wsgi.conf.j2` like the other WSGI logs. In there we just ingest the whole message, see the line `format /^(?\u003cPayload\u003e.*)$/`. So we don\u0027t extract any fields, but we don\u0027t need to worry about the exact log format either. I\u0027ve checked it works by searching for \u0027announcing my loyalty to the Emperor\u0027 (a uWSGI thing) and it shows up in Kibana. I don\u0027t think we should go any further with parsing these. On the other hand, all the Barbican API service logs are now parsed correctly like other OpenStack service logs.","commit_id":"7c8fcff970825062f699da16ee033dc2bbce10ba"}]}
