System->Logging
Actions Tab
Create new action
Give it name
Type is Remote
Put in the address of your syslog server
Put in the source address of the router you want syslog to see.
Depending on your syslog server you may need to select BSD Syslog.
Save that
On the rules tab, create a new rule
Choose the topic you want, such as hotspot.
The prefix is sent to the syslog server.
The action needs to be remote.
Only actions marked remote will go to syslog.
On 12/12/2013 4:25 PM, ralph wrote:
I have been working on routing hotspot system logs to a syslog server
However the logging commands don't seem to behave like the documentation
suggests. Not that the documentation I found is that wonderful to begin
with.
I'm using Winbox to access the routers. The routers are mostly R450s with a
couple 2011 and maybe some old 433 thrown in for good measure.
Can someone help me out please?
I'd like to send some of the default messages to the syslog box and not have
them clutter up the router inbuilt log.
Some of the formats I'd like to reroute are below. I'd actually like to have
some of them not show in the built in log at all, if possible.
dhcp info dhcp1 assigned 10.5.50.4 to xx:xx:xx:xx:xx:xx
system info account user admin logged in from x.x.x.x via winbox
hotspot info debug jdots1 (10.5.50.6) trying to log in by http-pap
hotspot info debug jdots1 (10.5.50.6) logged in
hotspot info debug jdots1 (10.5.50.6) logged out: idle timeout
I have experimented and even tried enabling logs with the ! in front of them
(which I thought should suppress that particular one) but my results are all
over the map.
Can someone show me the commands (either cli or winbox) to manipulate these?
I think with that help I may become dangerous enough to do the rest of what
I'd like to do.
Thanks
Ralph
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mail.butchevans.com/pipermail/mikrotik/attachments/20131212/57ffc308/attachment.html>
_______________________________________________
Mikrotik mailing list
[email protected]
http://mail.butchevans.com/mailman/listinfo/mikrotik
Visit http://blog.butchevans.com/ for tutorials related to Mikrotik RouterOS
-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2014.0.4259 / Virus Database: 3658/6913 - Release Date: 12/12/13
--
Scott Reed
Owner
NewWays Networking, LLC
Wireless Networking
Network Design, Installation and Administration
Mikrotik Advanced Certified
www.nwwnet.net
(765) 855-1060 (765) 439-4253 Toll-free (855) 231-6239
_______________________________________________
Mikrotik mailing list
[email protected]
http://mail.butchevans.com/mailman/listinfo/mikrotik
Visit http://blog.butchevans.com/ for tutorials related to Mikrotik RouterOS