[syslog-ng] [Bug 81] feature request: nested source statements

bugzilla at bugzilla.balabit.com bugzilla at bugzilla.balabit.com
Thu May 6 06:11:46 CEST 2010


https://bugzilla.balabit.com/show_bug.cgi?id=81


Balazs Scheidler <bazsi at balabit.hu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




--- Comment #1 from Balazs Scheidler <bazsi at balabit.hu>  2010-05-06 06:11:46 ---
that's right, you don't.

you can use multiple source references in a log statement, or with the latest tags() stuff, you can filter based on tags.

ie:

source s_tcp6 {                                                                                                
        tcp6(log_fetch_limit(25)                                                                               
                port(601) tags(net));                                                                                    
}                                                                                                              

source s_tcp4 {                                                                                                
        tcp(log_fetch_limit(25)                                                                                
                port(601) tags(net));                                                                                    
};            

filter f_tags_net { tags(net); };

log { filter(f_tags_net); destination(...); flags(catch-all); };

This way all "net" tagged messages go to the destination with the log statement.

Do you have any other usecase?


-- 
Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the syslog-ng mailing list