[syslog-ng] nested/derived source statements?

Patrick H. syslogng at feystorm.net
Tue May 4 06:22:39 CEST 2010


No, you can only nest log and filter statements

Sent: Monday, May 03, 2010 5:13:11 PM
From: Jan Schaumann <jschauma at netmeister.org>
To: syslog-ng at lists.balabit.hu
Subject: [syslog-ng] nested/derived source statements?
> Hello,
>
> Ie, I have
>
> source s_tcp6 {
>         tcp6(log_fetch_limit(25)
>                 port(601));
> }
>
> source s_tcp4 {
>         tcp(log_fetch_limit(25)
>                 port(601));
> };
>
>
> and I would like to have another
>
> source s_tcp {
> 	s_tcp4;
> 	s_tcp6;
> };
>
> but no matter what I try, I get syntax errors.  Is it not possible to
> have nested/derived source statements?
>
> -Jan
>   
> ------------------------------------------------------------------------
>
> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.campin.net/syslog-ng/faq.html
>
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20100503/047df4b1/attachment-0001.htm 


More information about the syslog-ng mailing list