feat: more syslog/telegraf stuff

This commit is contained in:
2023-01-11 02:20:00 +01:00
parent 88ecce43b0
commit b53c1918c9
12 changed files with 114 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
CREATE USER telegraf WITH PASSWORD {{ influxdb_telegraf_password }} WITH ALL PRIVILEGES
CREATE DATABASE telegraf
CREATE RETENTION POLICY "4Weeks" ON "telegraf" DURATION 4w REPLICATION 1 DEFAULT

View File

@@ -0,0 +1,4 @@
[[outputs.influxdb]]
database = "telegraf"
username = "telegraf"
password = "{{ influxdb_telegraf_password }}"

View File

@@ -0,0 +1,2 @@
[[inputs.syslog]]
server = "tcp://localhost:6514"