Community discussions

MikroTik App
 
MrYan
Member Candidate
Member Candidate
Topic Author
Posts: 160
Joined: Sat Feb 27, 2010 6:13 pm

Logging multiple topics to remote syslog

Thu Jan 12, 2012 12:28 pm

Any reason why this doesn't work:
[admin@mikrotik] /system logging> print
Flags: X - disabled, I - invalid
 #   TOPICS                          ACTION                          PREFIX
 0   info                            memory
 1   error                           memory
 2   warning                         memory
 3   critical                        echo
 4   info                            remote
     error
     warning
     critical
But this does?
[admin@mikrotik] /system logging> print
Flags: X - disabled, I - invalid
 #   TOPICS                          ACTION                          PREFIX
 0   info                            memory
 1   error                           memory
 2   warning                         memory
 3   critical                        echo
 4   info                            remote
 5   error                           remote
 6   warning                         remote
 7   critical                        remote
 
User avatar
petrn
Member Candidate
Member Candidate
Posts: 180
Joined: Thu Jul 29, 2010 3:56 am
Location: Dubai

Re: Logging multiple topics to remote syslog

Thu Jan 12, 2012 6:33 pm

Any reason why this doesn't work:
[admin@mikrotik] /system logging> print
Flags: X - disabled, I - invalid
 #   TOPICS                          ACTION                          PREFIX
 0   info                            memory
 1   error                           memory
 2   warning                         memory
 3   critical                        echo
 4   info                            remote
     error
     warning
     critical
in rule 4 logical AND is applied, so message need to be in same time classified as 'INFO' AND 'ERROR' AND 'WARNING' AND 'CRITICAL', which never happends. But you can filter let say 'FIREWALL' AND 'INFO'.
 
MrYan
Member Candidate
Member Candidate
Topic Author
Posts: 160
Joined: Sat Feb 27, 2010 6:13 pm

Re: Logging multiple topics to remote syslog

Thu Jan 12, 2012 11:12 pm

Makes sense - thanks for taking the time to answer my question.

Who is online

Users browsing this forum: Bing [Bot], GoogleOther [Bot], ShindigNZ and 82 guests