Stream auth and activity logs to an external provider
This is an experimental feature.
With Portainer 2.20 and later, you can configure the streaming of Portainer's authentication and activity logs to an external Security Information and Event Management (SIEM) system in Syslog format. This is done via CLI flags when starting the Portainer container.
Available CLI flags
Flag | Description |
---|---|
| Syslog Address to stream authentication and activity logs. FQDN or IP Address only. |
| Syslog Port for the address above. Defaults to |
| Syslog Protocol to send logs to the Syslog Server. Supported values are |
| Syslog Format to be used. Supported values are |
| The hostname value that will be shown in the Syslog server in the messages. Defaults to |
| Disable TLS server verification when using |
| The path to the trusted CA used by the Syslog server. Defaults to |
| The path to the client certificate that is used to authenticate to the Syslog server via mTLS. Defaults to |
| The path to the client key that is used to authenticate to the Syslog server via mTLS. Defaults to |
Example usage
The following is an example docker run
command to start Portainer using the above options to stream logs to a SIEM provider at syslog.mydomain.com
on UDP port 514
.
As the flags are Portainer options, they must be specified after the image specification.
Last updated