The container uses environment variables for configuring Sidecar. Following parameters are available:
GS_SERVER_URL (REQUIRED)
URL to the Graylog API, e.g. http:/localhost:9000/api/
GS_SERVER_API_TOKEN (REQUIRED)
The API token to use to authenticate against the Graylog server API
E.g. 1jq26cssvc6rj4qac4bt9oeeh0p4vt5u5kal9jocl1g9mdi4og3n
GS_NODE_ID (REQUIRED)
The node ID of the sidecar. This can be a path to a file or an ID string.
Example file path: file:/etc/graylog/sidecar/node-id
Example ID string: 6033137e-d56b-47fc-9762-cd699c11a5a9
ATTENTION: Every sidecar instance needs a unique ID
Default: file:/etc/graylog/sidecar/node-id
GS_NODE_NAME
Name of the Sidecar instance, will also show up in the web interface. The hostname will be used if not set
GS_UPDATE_INTERVAL
The interval in seconds the sidecar will fetch new configurations from the Graylog server
Default: 10
GS_TLS_SKIP_VERIFY
This configures if the sidecar should skip the verification of TLS connections
Default: false
GS_SEND_STATUS
This controls the transmission of detailed sidecar information like collector status, metrics and log file lists. It can be disabled to reduce load on the Graylog server if needed
Default: true
GS_LIST_LOG_FILES
Send a directory listing to Graylog and display it on the host status page, e.g. /var/log. This can also be a list of directories
Default: []
GS_CACHE_PATH
The directory where the sidecar stores internal data
Default: /var/cache/graylog-sidecar
GS_COLLECTOR_CONFIGURATION_DIRECTORY
The directory where the sidecar generates configurations for collectors.
Default: /var/lib/graylog-sidecar/generated
GS_LOG_PATH
The directory where the sidecar stores its logs
Default: /var/log/graylog-sidecar
GS_LOG_ROTATE_MAX_FILE_SIZE
The maximum size of the log file before it gets rotated
Default: 10MiB
GS_LOG_ROTATE_KEEP_FILES
The maximum number of old log files to retain
Default: 10
GS_COLLECTOR_BINARIES_WHITELIST
A list of binaries which are allowed to be executed by the Sidecar