Filter questions

This is the place for you, if you got rsyslog up and running but wonder how to make it do what you want.

Moderator: rgerhards

Filter questions

Postby pokemon » Fri Jun 26, 2009 7:07 am

Hi There

Everything is working fine logs are put this own file but how can stop this logging in /var/log/messeges

here is my configuration
#### MODULES ####

$ModLoad imuxsock.so # provides support for local system logging (e.g. via logger command)
$ModLoad imklog.so # provides kernel logging support (previously done by rklogd)

# Provides UDP syslog reception
$ModLoad imudp.so
$UDPServerRun 514

:fromhost-ip, isequal, "192.168.0.4" /var/log/router/systems.log
:fromhost-ip, isequal, "192.168.0.5" /var/log/switch/systems.log
pokemon
New
 
Posts: 9
Joined: Thu Jun 25, 2009 1:27 pm

Professional Services Information

  • Custom written rsyslog.conf?
  • Maintenance Contract?
  • Installation support?

Re: Filter questions

Postby pokemon » Fri Jun 26, 2009 7:32 pm

any expert here !! answer my question ????
pokemon
New
 
Posts: 9
Joined: Thu Jun 25, 2009 1:27 pm

Re: Filter questions

Postby rgerhards » Fri Jun 26, 2009 8:28 pm

:fromhost-ip, isequal, "192.168.0.4" /var/log/router/systems.log
& ~
:fromhost-ip, isequal, "192.168.0.5" /var/log/switch/systems.log
& ~
User avatar
rgerhards
Site Admin
 
Posts: 2647
Joined: Thu Feb 13, 2003 11:57 am

Re: Filter questions

Postby pokemon » Fri Jun 26, 2009 9:07 pm

rgerhards wrote::fromhost-ip, isequal, "192.168.0.4" /var/log/router/systems.log
& ~
:fromhost-ip, isequal, "192.168.0.5" /var/log/switch/systems.log
& ~



did you read my post. i am using same command as you the problem is the messege also show in /var/log/messeges how to stop it ?
pokemon
New
 
Posts: 9
Joined: Thu Jun 25, 2009 1:27 pm

Re: Filter questions

Postby rgerhards » Fri Jun 26, 2009 9:54 pm

your post contains different commands. The discard is mising.
User avatar
rgerhards
Site Admin
 
Posts: 2647
Joined: Thu Feb 13, 2003 11:57 am

Re: Filter questions

Postby pokemon » Sat Jun 27, 2009 5:21 am

rgerhards wrote:your post contains different commands. The discard is mising.



after apply still the messeges shows in /var/log/messeges how can i stop
can you correct this below statement and highlight where i am going mistake .

:fromhost-ip, isequal, "192.168.0.5" /var/log/mikrotik/systems.log
& ~
pokemon
New
 
Posts: 9
Joined: Thu Jun 25, 2009 1:27 pm

Re: Filter questions

Postby pokemon » Mon Jun 29, 2009 7:35 am

nobody seen this issue ??? i am getting trouble for this issue to many messeges in /var/log/messeges
pokemon
New
 
Posts: 9
Joined: Thu Jun 25, 2009 1:27 pm

Google Ads



Return to Configuration

Who is online

Users browsing this forum: No registered users and 0 guests

cron