Upload files to "Grafana"
This commit is contained in:
1 parent
36d7d6b65f
commit
092f736331
5 files changed
+351
No files matched your search
@@ -0,0 +1,39 @@
|
||||
@version: 4.2
|
||||
@include "scl.conf"
|
||||
|
||||
source s_mikrotik {
|
||||
network(ip(0.0.0.0) port(1514) transport("udp"));
|
||||
};
|
||||
|
||||
source s_synology {
|
||||
network(ip(0.0.0.0) port(1515) transport("udp"));
|
||||
};
|
||||
|
||||
source s_proxmox {
|
||||
network(ip(0.0.0.0) port(1516) transport("udp"));
|
||||
};
|
||||
|
||||
source s_terramaster {
|
||||
network(ip(0.0.0.0) port(1517) transport("udp"));
|
||||
};
|
||||
|
||||
destination d_mikrotik {
|
||||
file("/var/log/syslog-ng/mikrotik.log" template("${ISODATE} ${HOST} ${MESSAGE}\n"));
|
||||
};
|
||||
|
||||
destination d_synology {
|
||||
file("/var/log/syslog-ng/synology.log" template("${ISODATE} ${HOST} ${MESSAGE}\n"));
|
||||
};
|
||||
|
||||
destination d_proxmox {
|
||||
file("/var/log/syslog-ng/proxmox.log" template("${ISODATE} ${HOST} ${MESSAGE}\n"));
|
||||
};
|
||||
|
||||
destination d_terramaster {
|
||||
file("/var/log/syslog-ng/terramaster.log" template("${ISODATE} ${HOST} ${MESSAGE}\n"));
|
||||
};
|
||||
|
||||
log { source(s_mikrotik); destination(d_mikrotik); };
|
||||
log { source(s_synology); destination(d_synology); };
|
||||
log { source(s_proxmox); destination(d_proxmox); };
|
||||
log { source(s_terramaster); destination(d_terramaster); };
|
||||
Reference in new issue
Block a user