logmonitor/etc/syslog-ng/templates/d_discord.template

13 lines
272 B
Text
Raw Normal View History

destination d_discord {
program("/bin/discord.sh" mark-mode(none) template("$PRI $HOST $MSGHDR $MSG\n"));
};
filter allowed_hosts {
netmask(ALLOWED_SUBNET);
};
log {
source(s_network);
filter(allowed_hosts);
destination(d_discord);
};