Thanks.
I have that part- it is the selection of the message sent   that doesn't
seem to work correctly.
Could you give examples of the cli commands used to send the following types
of messages and only those?
No matter how I set it up it sends the wrong thing.

 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


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Scott Reed
Sent: Thursday, December 12, 2013 4:35 PM
To: Mikrotik discussions
Subject: Re: [Mikrotik] Routing log messages to external syslog

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
>
>   
>
>   
>
>   


_______________________________________________
Mikrotik mailing list
[email protected]
http://mail.butchevans.com/mailman/listinfo/mikrotik

Visit http://blog.butchevans.com/ for tutorials related to Mikrotik RouterOS

Reply via email to