<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#0050d0">
<font size="-1"><font face="Helvetica, Arial, sans-serif">No, you can
only nest log and filter statements</font></font><br>
<br>
Sent: Monday, May 03, 2010 5:13:11 PM<br>
From: Jan Schaumann <a class="moz-txt-link-rfc2396E" href="mailto:jschauma@netmeister.org">&lt;jschauma@netmeister.org&gt;</a><br>
To: <a class="moz-txt-link-abbreviated" href="mailto:syslog-ng@lists.balabit.hu">syslog-ng@lists.balabit.hu</a> <br>
Subject: [syslog-ng] nested/derived source statements?
<blockquote cite="mid:20100503231311.GA9920@netmeister.org" type="cite">
  <pre wrap="">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
  </pre>
  <pre wrap="">
<hr size="4" width="90%">
______________________________________________________________________________
Member info: <a class="moz-txt-link-freetext" href="https://lists.balabit.hu/mailman/listinfo/syslog-ng">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a>
Documentation: <a class="moz-txt-link-freetext" href="http://www.balabit.com/support/documentation/?product=syslog-ng">http://www.balabit.com/support/documentation/?product=syslog-ng</a>
FAQ: <a class="moz-txt-link-freetext" href="http://www.campin.net/syslog-ng/faq.html">http://www.campin.net/syslog-ng/faq.html</a>

  </pre>
</blockquote>
</body>
</html>