[syslog-ng] How to create two independent patternDB instances in syslog-ng

Nitish Saboo nitish.saboo55 at gmail.com
Mon May 13 10:42:45 UTC 2019


I understand PatternDB is a syslog-ng pluginand its dynamic library can be
found in as libdbparser.so.

I went through the following tests in '
https://github.com/balabit/syslog-ng/blob/master/modules/dbparser/patterndb.c
'

I want to create two independent pattern_db instances having two different
ruleset.
My queries:

1) How can I create two independent instances of patternDB having two
different ruleset ?

2)How can I get the handle of these two independent PatternDB instances ?

Can someone please help me on this ?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.balabit.hu/pipermail/syslog-ng/attachments/20190513/43cfc4c8/attachment.html>


More information about the syslog-ng mailing list