fix: add RFC3164 to RFC5424 translation to docs (#10480)
This commit is contained in:
parent
dd98e4b045
commit
20f007b28e
|
|
@ -174,4 +174,17 @@ If you see the following error, it is due to a message encoded in this format:
|
|||
E! Error in plugin [inputs.syslog]: expecting a version value in the range 1-999 [col 5]
|
||||
```
|
||||
|
||||
You can use rsyslog to translate RFC3164 syslog messages into RFC5424 format.
|
||||
Users can use rsyslog to translate RFC3164 syslog messages into RFC5424 format.
|
||||
Add the following lines to the rsyslog configuration file
|
||||
(e.g. `/etc/rsyslog.d/50-telegraf.conf`):
|
||||
|
||||
```s
|
||||
# This makes rsyslog listen on 127.0.0.1:514 to receive RFC3164 udp
|
||||
# messages which can them be forwared to telegraf as RFC5424
|
||||
$ModLoad imudp #loads the udp module
|
||||
$UDPServerAddress 127.0.0.1
|
||||
$UDPServerRun 514
|
||||
```
|
||||
|
||||
Make adjustments to the target address as needed and sent your RFC3164 messages
|
||||
to port 514.
|
||||
|
|
|
|||
Loading…
Reference in New Issue