Skip to content

Instantly share code, notes, and snippets.

@wannadrunk
Last active February 24, 2022 15:26
Show Gist options
  • Save wannadrunk/05a374b3ff89ae4759352b18c64c8050 to your computer and use it in GitHub Desktop.
Save wannadrunk/05a374b3ff89ae4759352b18c64c8050 to your computer and use it in GitHub Desktop.
Mikrotik log to syslog-ng - Line 4, update the IP address of your Mikrotik.
# MikroTik – Syslog
source s_mikrotik { udp(port(514)); };
destination d_mikrotik { file("/var/log/mikrotik.log"); };
filter f_mikrotik { host("192.168.88.1"); };
log { source(s_mikrotik); destination(d_mikrotik); filter(f_mikrotik); };
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment