mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Auditing: Add new options to docs (#52050)
* Auditing: Add new option docs * add log all status codes * change option to verbose * denote status_codes * Apply suggestions from code review Co-authored-by: Ieva <ieva.vasiljeva@grafana.com> * add setup-grafana docs Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
This commit is contained in:
parent
feaa037a19
commit
4a12d0f236
@ -177,6 +177,14 @@ List of enabled loggers.
|
||||
|
||||
Keep dashboard content in the logs (request or response fields). This can significantly increase the size of your logs.
|
||||
|
||||
### verbose
|
||||
|
||||
Log all GET requests and always include request body for generic POST/PUT/PATCH requests.
|
||||
|
||||
### log_all_status_codes
|
||||
|
||||
Set to false to only log requests with 2xx, 3xx, 401, 403, 500 responses.
|
||||
|
||||
## [auditing.logs.file]
|
||||
|
||||
### path
|
||||
|
@ -315,6 +315,11 @@ 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
|
||||
# Log all GET requests and always include request body for generic POST/PUT/PATCH requests.
|
||||
verbose = false
|
||||
# By default Grafana logs requests even if the status code indicates that no changes to the system were made.
|
||||
# Set to false to only log requests with 2xx, 3xx, 401, 403, 500 responses.
|
||||
log_all_status_codes = true
|
||||
```
|
||||
|
||||
Each exporter has its own configuration fields.
|
||||
|
Loading…
Reference in New Issue
Block a user