You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bytebase can emit audit logs to **stdout**, allowing seamless integration with log aggregation and SIEM systems such as Datadog, Splunk, Elastic, Loki, CloudWatch, and GCP Logging—without using the API.
33
+
Bytebase can stream audit logs to **stdout** for collection by external logging and monitoring systems.
34
34
35
-
Go to **Settings** -> **General** -> **Audit Log Export**, and enable **Enable audit logging to stdout**.
35
+
### Configuration
36
36
37
-
Once enabled, audit events will appear in the standard output stream of your Bytebase service.
37
+
1. Navigate to **Settings** → **General** → **Audit Log Export**.
38
+
2. Enable **Enable audit logging to stdout**.
39
+
40
+
Once enabled, audit events stream to the standard output of your Bytebase service.
41
+
42
+
### Output format
43
+
44
+
By default, audit logs are output as key-value pairs. To enable JSON format for easier parsing by log aggregators, start Bytebase with one of these flags:
45
+
46
+
-`--enable-json-logging` - Outputs all logs in JSON format (you still need to enable the audit log export in the settings)
When running Bytebase in Docker or Kubernetes, audit logs automatically appear in container logs and can be collected by your existing logging infrastructure:
95
+
96
+
-**Docker**: Access via `docker logs` or configure Docker logging drivers
97
+
-**Kubernetes**: Collected by cluster logging systems (Fluentd, Fluent Bit)
98
+
-**Cloud platforms**: Stream to CloudWatch (AWS), Cloud Logging (GCP), or Azure Monitor
99
+
100
+
### Supported systems
101
+
102
+
The stdout logs can be ingested by any log collection system, including:
0 commit comments