mirror of https://github.com/grafana/grafana.git
[release-12.0.5] Auditing: Document new options for recording datasource query request/response body (#109980)
Auditing: Document new options for recording datasource query request/response body (#109951)
(cherry picked from commit 91748fe115)
This commit is contained in:
parent
cd1e08734c
commit
5ac3d0c76a
|
|
@ -198,6 +198,14 @@ List of enabled loggers.
|
|||
|
||||
Keep dashboard content in the logs (request or response fields). This can significantly increase the size of your logs.
|
||||
|
||||
### log_datasource_query_request_body
|
||||
|
||||
Whether to record data source queries' request body. This can significantly increase the size of your logs. Enabled by default.
|
||||
|
||||
### log_datasource_query_response_body
|
||||
|
||||
Whether to record data source queries' response body. This can significantly increase the size of your logs. Enabled by default.
|
||||
|
||||
### verbose
|
||||
|
||||
Log all requests and keep requests and responses body. This can significantly increase the size of your logs.
|
||||
|
|
|
|||
|
|
@ -373,6 +373,10 @@ enabled = false
|
|||
loggers = file
|
||||
# Keep dashboard content in the logs (request or response fields); this can significantly increase the size of your logs.
|
||||
log_dashboard_content = false
|
||||
# Whether to record data source queries' request body. This can significantly increase the size of your logs. Enabled by default.
|
||||
log_datasource_query_request_body = true
|
||||
# Whether to record data source queries' response body. This can significantly increase the size of your logs. Enabled by default.
|
||||
log_datasource_query_response_body = true
|
||||
# Keep requests and responses body; this can significantly increase the size of your logs.
|
||||
verbose = false
|
||||
# Write an audit log for every status code.
|
||||
|
|
|
|||
Loading…
Reference in New Issue