[syslog-ng] Syslog-ng with MongoDB authentication

Ivan Adji - Krstev akivanradix at gmail.com
Fri May 13 11:15:06 CEST 2016


Hi all,
I have configure MongoDB with Username and Password, but can't find how
to configure destination on Syslog-ng using MongoDB with Username and
Password.

For now i have just this:

destination d_mongodb {
        mongodb(
        servers("localhost:27017")
        database("syslog")
        collection("messages")
        value-pairs(
        scope("selected-macros" "nv-pairs" "sdata")
                )
                        );
                        };

But i should add some username and passwords somewhere and don't know
how. Any hints on this ?

Kind regards
Ivan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20160513/59e002fc/attachment.htm 


More information about the syslog-ng mailing list