[syslog-ng] Syslog-ng with MongoDB authentication

Fekete, Róbert robert.fekete at balabit.com
Fri May 13 11:35:05 CEST 2016


Hi,

Use the username() and password() options.

https://www.balabit.com/sites/default/files/documents/syslog-ng-ose-latest-guides/en/syslog-ng-ose-guide-admin/html/reference-destination-mongodb.html

Regards,

Robert

On Fri, May 13, 2016 at 11:15 AM, Ivan Adji - Krstev <akivanradix at 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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20160513/9af65185/attachment.htm 


More information about the syslog-ng mailing list