[syslog-ng] threading question

Fabien Wernli wernli at in2p3.fr
Thu May 21 17:30:02 CEST 2015


Hi,

On Thu, May 21, 2015 at 10:57:57AM -0400, jrhendri at roadrunner.com wrote:
> destination d_redis1 {stuff}
> destination d_redis2 {exactly the same stuff}
> ...
> destination d_redisN {still the same stuff}
> 
> so I can filter the sources and have different log statements send to each destination.
> 
> Is there a more compact way to do this?
> (I'd love to have a single d_redis that creates several threads based on load so I could lose the filters and separate log statements)

did you try using configuration blocks [1]?

[1]
https://www.balabit.com/sites/default/files/documents/syslog-ng-ose-3.6-guides/en/syslog-ng-ose-v3.6-guide-admin/html-single/index.html#config-blocks



More information about the syslog-ng mailing list