diff --git a/config/50-telegraf.conf b/config/50-telegraf.conf new file mode 100644 index 0000000..77cc90e --- /dev/null +++ b/config/50-telegraf.conf @@ -0,0 +1,6 @@ +$ActionQueueType LinkedList +$ActionQueueFileName srvrfwd +$ActionResumeRetryCount -1 +$ActionQueueSaveOnShutdown on + +*.* @@(o)localhost:6514;RSYSLOG_SyslogProtocol23Format diff --git a/config/telegraf.conf b/config/telegraf.conf index d0d5b77..ae9e464 100644 --- a/config/telegraf.conf +++ b/config/telegraf.conf @@ -45,6 +45,9 @@ [[inputs.kernel]] collect = ["psi"] +[[inputs.syslog]] + server = "tcp://localhost:6514" + [[inputs.dns_query]] servers = ["8.8.8.8"] include_fields = ["all_ips"]