Hi,
I am trying out Multi Line logging Azure Announcement (Preview Feature). I copied and applied the example configmap and changed as following:
[log_collection_settings.enable_multiline_logs]
# fluent-bit based multiline log collection for go (stacktrace), dotnet (stacktrace)
# if enabled will also stitch together container logs split by docker/cri due to size limits(16KB per log line)
enabled = true
I tried both "true" with quotes and without, but I don't see multiline logs when queried in Azure console.
I got ContainerLogV2 working and get results in Azure console from that table.
Our logs are being generated by Python code and I can see multi-line logs from command line as:
I0623 01:30:06.411888 7891591936 _universal.py:523] Request URL: 'https://login.microsoftonline.com/403b900c-8ec5-41d4-b435-53f4bb309e58/oauth2/v2.0/token'
Request method: 'POST'
Request headers:
'Content-Type': 'application/x-www-form-urlencoded'
'User-Agent': 'azsdk-python-identity/1.12.0 Python/3.9.12 (Linux-3.10.0-x86_64-with-glibc2.36)'
A body is sent with the request
I0623 01:30:06.539142 7891591936 _universal.py:554] Response status: 200
Response headers:
'Cache-Control': 'no-store, no-cache'
'Pragma': 'no-cache'
'Content-Type': 'application/json; charset=utf-8'
'Expires': '-1'
But in Kutso query output in Azure console, each line is a separate entry.
Any suggestions or pointers on how to get it working?