-
Notifications
You must be signed in to change notification settings - Fork 356
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pgbadger for Azure PostgreSQL #752
Comments
Hi, I don't know anything about the Azure Log Analytics workspace. If you can obtain a text version of a log and post it here I could be able to answer more precisely. |
The Azure Log Analytics PostgreSQL log is a multi-line json format, this need more work for integration in pgbadger than other log format. I don't have much time for the moment so this is a low priority unless Microsoft wants to support pgBadger development. |
Hello, A workaroud I found. The tricky part is to get the DETAIL part of the LOG. They managed to make it ugly, you'll see. With this log_line_prefix Json file:
By executing something like this and thanks to @ioguix for pointing out
You get the following output:
The downside is that we add the DETAIL message by copying the %l placeholder from original message, without increasing it. It worth checking how And now we can execute pgBdager:
But pgBadger doesn't care about us not increasing Hope that helps. Robin, |
Hi,
Is it possible anyway to configure pgbadger over Azure Log Analytics workspace?
The text was updated successfully, but these errors were encountered: