[syslog-ng]filter syslog
pierrick le fol
pierrick@cyberouest.fr
Mon, 5 Mar 2001 16:59:35 +0100
I do not want to filter the events of host, but the messages
of equipment network (router...). I thus filter IP addresses.
Can filtering it be done?
----- Original Message -----
From: "Gregor Binder" <gbinder@sysfive.com>
To: <syslog-ng@lists.balabit.hu>
Sent: Monday, March 05, 2001 3:09 PM
Subject: Re: [syslog-ng]filter syslog
> pierrick le fol on Mon, Mar 05, 2001 at 03:01:24PM +0100:
>
> Hi,
>
> I am assuming you are trying to filter by source host, right?
>
> > I seek a person who could help me in the filtering of event syslog.
> > I wish filter the messages by address IP. If you have information
> > or competences in this field, I am taking.
>
> This is very easy with syslog-ng, just use a destination like this on
> your log server:
>
> destination d_host { file ("/var/log/$HOST.log"); };
>
> and syslog-ng will log messages in seperate logs for each hostname or
> address it is getting messages from.
>
> Regards,
> Gregor.
>
> --
> Gregor Binder <gregor.binder@sysfive.com> http://sysfive.com/~gbinder/
> sysfive.com GmbH UNIX. Networking. Security. Applications.
> PGP id: 0x20C6DA55 fp: 18AB 2DD0 F8FA D710 1EDC A97A B128 01C0 20C6 DA55
>
> _______________________________________________
> syslog-ng maillist - syslog-ng@lists.balabit.hu
> https://lists.balabit.hu/mailman/listinfo/syslog-ng