Syslog
The Syslog exporter sends logs to a Syslog server, allowing integration with centralized logging systems. It supports configurable parameters such as the target host, port, and protocol to ensure compatibility with various Syslog implementations.
exporters:
syslog:
type: syslog
options:
host: syslog-server
port: 514
protocol: tcpConfiguration (* required)
options
| Property | Type | Description |
|---|---|---|
| options.host* | string | The hostname of the syslog server. |
| options.port* | integer | The port of the syslog server. |
| options.protocol* | enum [ tcp, udp, tls ] | Default: tcp. The protocol to use to communicate with the syslog server. |
| options.trust | string[] | Keys in the vault referenced on the exporter (for example a filesystem vault for a local pkcs12 keystore, or an AWS vault for remote pem format certificates stored in AWS Secrets Manager). Only valid if the protocol is tls. |
| options.trustcacerts | boolean | Specifies if the CA certs should be trusted. Only valid if the protocol is tls. |
vault
The vault property names the vault to use when the protocol is tls.
vaults:
my_syslog_trust:
type: filesystem
options:
trust:
store: truststore.p12
type: pkcs12
password: generated
exporters:
syslog:
type: syslog
vault: my_syslog_trust
options:
host: syslog-server
port: 6514
protocol: tls
trust:
- syslog
