Hi, Use the username() and password() options. https://www.balabit.com/sites/default/files/documents/syslog-ng-ose-latest-g... Regards, Robert On Fri, May 13, 2016 at 11:15 AM, Ivan Adji - Krstev <akivanradix@gmail.com> wrote:
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
______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq