Audit Extension Configuration
Introduction
The audit service allows for easy monitoring of your Infinite Scale server.
Extensions are under development because of the |
Configuration
Environment Variables
The audit
extension is configured via the following environment variables:
Name | Type | Default Value | Description |
---|---|---|---|
|
string |
||
|
bool |
false |
|
|
bool |
false |
|
|
string |
||
|
string |
||
|
string |
||
|
bool |
false |
|
|
bool |
false |
|
|
string |
127.0.0.1:9233 |
The address of the streaming service. |
|
string |
ocis-cluster |
The clusterID of the streaming service. Mandatory when using nats. |
|
string |
audit |
The consumergroup of the service. One group will only get one copy of an event. |
|
bool |
true |
Logs to Stdout if true. |
|
bool |
false |
Logs to file if true. |
|
string |
Filepath to the logfile. Mandatory if LogToFile is true. |
|
|
string |
json |
Log format. using json is advised. |
Since Version: +
added, -
deprecated
YAML Example
# Autogenerated
# Filename: audit-config-example.yaml
log:
level: ""
pretty: false
color: false
file: ""
debug:
addr: ""
token: ""
pprof: false
zpages: false
events:
endpoint: 127.0.0.1:9233
cluster: ocis-cluster
group: audit
auditlog:
log_to_console: true
log_to_file: false
filepath: ""
format: json