Closed photomattmills closed 1 year ago
Well looks like log_statement in GCP CloudSQL Logs is not well supported, you should use log_min_duration_statement instead.
I have done some minimal try to fix that without success but anyway using log_min_duration_statement will brings many more information in your reports.
Hello--
I'm having an issue parsing logs downloaded from cloudSQL. Seems like none of the queries are getting picked up; here's one example:
I tried entering a
--prefix "%m [%p]: db=%d,user=%u
to get it to pick up things, but it didn't seem to help; whatever the [2-1] is I couldn't figure out the escape sequence for it and it's different in different log lines. Deleting it from the lines withsed
and running the tool against that, it only picked up logs pertaining to temp files.Let me know if I can add anything else, I can send you un-redacted logs (about 13mb in total) if that will help. Thanks!