[prev in list] [next in list] [prev in thread] [next in thread]
List: syslog-ng
Subject: Re: [syslog-ng]filtering question
From: Horváth_Ákos <maxx () covysoft ! net>
Date: 2004-09-08 11:12:19
Message-ID: 200409081312.19475.maxx () covysoft ! net
[Download RAW message or body]
Hi,
AFAIK you do not need a _matching_ filter, but to set up a filter on the
local5 logging _facility_.
bye
MaXX
On Wednesday 08 September 2004 12.03, Iulian Topliceanu wrote:
> Hi,
>
> I have to following task.
>
> I have some messages coming from a host from local5.
>
> The messages look like:
>
> "Sep 6 17:07:21 herakles local5:meimlo.std.me herakles.tomcat8310
> 2004-09-06 17:07:21,157 [WARN] [main] [] []
> voicemail.mboxp.MboxpServlet: MboxpServlet not initialized"
>
> The thing I have to is to make a filter that matches the things between
> 'local5:' and the first ' '. In this case the filter is 'meimlo.std.me'
> but this 'meimlo.std.me' could be anything like: 'blah.blu.admin'.
>
> Is there a possibility to create a filter that if that string is
> different, syslog-ng will automate create a new file? Like it does when
> a new host is logging and it creates the dirs/files.
>
> Does syslog-ng support such a function?
>
> Regards,
> Iulian Topliceanu
_______________________________________________
syslog-ng maillist - syslog-ng@lists.balabit.hu
https://lists.balabit.hu/mailman/listinfo/syslog-ng
Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic