summaryrefslogtreecommitdiff
path: root/data/templates/monitoring/syslog_telegraf.tmpl
blob: 122bdf9ccdf542217c030952321e64dc5fc57b84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# Generated by /usr/libexec/vyos/conf_mode/service_monitoring.py

$ModLoad imjournal
$ImjournalDefaultSeverity 4
$WorkDirectory /var/spool/rsyslog

$ActionQueueType LinkedList   # use asynchronous processing
$ActionQueueFileName srvrfwd  # set file name, also enables disk mode
$ActionResumeRetryCount -1    # infinite retries on insert failure
$ActionQueueSaveOnShutdown on # save in-memory data if rsyslog shuts down

*.* @127.0.0.1:6514;RSYSLOG_SyslogProtocol23Format