The syslog_input
operator listens for syslog format logs from UDP/TCP packages.
Field | Default | Description |
---|---|---|
id |
syslog_input |
A unique identifier for the operator. |
output |
Next in pipeline | The connected operator(s) that will receive all outbound entries. |
tcp |
{} | A tcp_input config to defined syslog_parser operator. |
udp |
{} | A udp_input config to defined syslog_parser operator. |
syslog |
required | A syslog parser config to defined syslog_parser operator. |
attributes |
{} | A map of key: value pairs to add to the entry's attributes. |
resource |
{} | A map of key: value pairs to add to the entry's resource. |
on_error |
send |
The behavior of the syslog parser if it encounters an error. See on_error. |
TCP Configuration:
- type: syslog_input
tcp:
listen_address: "0.0.0.0:54526"
syslog:
protocol: rfc5424
UDP Configuration:
- type: syslog_input
udp:
listen_address: "0.0.0.0:54526"
syslog:
protocol: rfc3164
location: UTC