mirror of
https://github.com/netbirdio/docs.git
synced 2026-04-18 16:36:35 +00:00
add proxy access log retention section
This commit is contained in:
@@ -76,6 +76,29 @@ Access logs support several operational and security workflows:
|
|||||||
- **Monitoring** - Track usage patterns across your services. Identify which services receive the most traffic, peak usage times, and unusual access patterns that may warrant investigation.
|
- **Monitoring** - Track usage patterns across your services. Identify which services receive the most traffic, peak usage times, and unusual access patterns that may warrant investigation.
|
||||||
- **Compliance** - Maintain records of service access for regulatory requirements. Access logs provide an auditable trail of who accessed what, when, and from where.
|
- **Compliance** - Maintain records of service access for regulatory requirements. Access logs provide an auditable trail of who accessed what, when, and from where.
|
||||||
|
|
||||||
|
## Retention and Cleanup
|
||||||
|
|
||||||
|
For the cloud version of NetBird, access logs are retained for 7 days.
|
||||||
|
For the self-hosted version, access log retention can be configured in the `management.json` or `config.yaml` by setting the following config parameters:
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"ReverseProxy": {
|
||||||
|
"AccessLogRetentionDays": 7,
|
||||||
|
"AccessLogCleanupIntervalHours": 24
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
reverseProxy:
|
||||||
|
accessLogRetentionDays: 7
|
||||||
|
accessLogCleanupIntervalHours: 24
|
||||||
|
```
|
||||||
|
|
||||||
|
- **accessLogRetentionDays** - Define how long access logs are retained before they are automatically deleted.
|
||||||
|
- **accessLogCleanupIntervalHours** - Set how often the system checks for and deletes expired access log entries.
|
||||||
|
|
||||||
## Related pages
|
## Related pages
|
||||||
|
|
||||||
- [Reverse Proxy Overview](/manage/reverse-proxy) - learn how to create and manage reverse proxy services
|
- [Reverse Proxy Overview](/manage/reverse-proxy) - learn how to create and manage reverse proxy services
|
||||||
|
|||||||
Reference in New Issue
Block a user