Audit logging

Dec 3, 2024 | Knowledge Base

You can set up audit logging by setting an extra parameter in your docker-compose.yml file:

x-api: &api_common
image: netpicker/api
environment:
ENABLE_AUDIT_LOGGING: 1

This logs user actions in the API including username/email, and POST body content:

2024-12-03 10:38:03,450 [-] [AUDIT] app.api:187: Subject: 226252336528990208 ([email protected]) - "GET /api/v1/status/logs"

On this page
Explore our products
See what Flock9 can do for your network.
View products

Can't find what you need?

Our engineers answer questions on Discord and by ticket.