RE: Assigning a log file per remote IP

From: Pieter De Wit <pieter_at_vodacom.co.za>
Date: Sun, 15 Apr 2007 22:27:36 +0200

Hey Jackc,

I did - it all provides info on how to get the messages, which isn't my
problem. My problem is filtering them into their own log files...Unless
I am missing something really stupid ?

Thanks,

Pieter

-----Original Message-----
From: jackc [mailto:jcraig_at_brocade.com]
Sent: 2007/04/15 20:37
To: Pieter De Wit
Cc: infodrom-sysklogd_at_lists.infodrom.org
Subject: Re: Assigning a log file per remote IP

you might look at man syslog.conf, remote site logging, ...

hth, ...

Pieter De Wit wrote:
> Hello Guys,
>
> I am sorry if this was covered before, but the search function is not
> working so I can't check all the archives.
>
> I have a machine that I would like to run as a Syslog "server". I have

> changed the startup options to include -r and the devices are sending
> the log info to the server. I can see the info in my "all" log (in
> /etc/syslog.conf I have a line: *.* /var/log/all.log)
>
> Now - what I would like to do is have something like the following:
>
> All messages from 192.168.0.1 to go into /var/log/router.log All
> messages from 192.168.0.2 to go into /var/log/firewall.log All
> messages from 192.168.0.3 to go into /var/log/device.log
>
> etc etc etc
>
> Now everyone is saying that I must look at syslog-ng for this but I
> don't want to. There must be a way to get sysklogd to do this ? Yes ?
>
> Oh yes - I am running version : 1.4.2_pre20061230
>
> Thanks,
>
> Pieter De Wit
> "This e-mail is sent on the Terms and Conditions that can be accessed
by Clicking on this link http://www.vodacom.co.za/legal/email.jsp "
>
>
>

--
Jack Craig
Linux26 Team
Brocade
1600 Technology Dr.
San Jose, CA  95110
408.333.7478
Direct E-mail:  jack.craig_at_brocade.com (jcraig_at_brocade.com)
“This e-mail is sent on the Terms and Conditions that can be accessed by Clicking on this link http://www.vodacom.co.za/legal/email.jsp "
Received on Sun Apr 15 2007 - 22:27:36 CEST

This archive was generated by hypermail 2.2.0 : Sun Apr 15 2007 - 22:27:50 CEST