[syslog-ng] Dynamic collection name in MongoDb

PC LP pclp.java at gmail.com
Thu Aug 15 16:07:05 UTC 2019


Hi,

I am retrieving the value for *$M_ADDRESS* from the Syslog message using
patterndb.

$M_ADDRESS  is a unique value. Based on that I have to create the
collection in MongoDB dynamically. If I provide the value like below it is
not recognizing

collection("$M_ADDRESS")

Is there any alternate way to create it? Please advise.

Regards,
PCLP.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.balabit.hu/pipermail/syslog-ng/attachments/20190815/cbc7a5ae/attachment.html>


More information about the syslog-ng mailing list