Have the ability to filter out internal queries when using sql.log.user_audit
cluster setting
#105590
Labels
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
O-support
Would prevent or help troubleshoot a customer escalation - bugs, missing observability/tooling, docs
P-3
Issues/test failures with no fix SLA
T-observability
Is your feature request related to a problem? Please describe.
When using
sql.log.user_audit
, the audit log records ALL queries generated by the user, even ones that are internally created by viewing the DBConsole etc. There should be an option to only record explicit SQL queries ran externally from clients.Describe the solution you'd like
A new cluster setting, which works with
sql.log.user_audit
to disable the logging of anything where the query is generated internally (e.g. ApplicationName is one of$ internal-console
,$ internal-check-is-admin
, etc.Jira issue: CRDB-29113
The text was updated successfully, but these errors were encountered: