<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Helvetica, Arial, sans-serif">Hi all, <br>
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.<br>
<br>
For now i have just this:<br>
<br>
destination d_mongodb {<br>
mongodb(<br>
servers("localhost:27017")<br>
database("syslog")<br>
collection("messages")<br>
value-pairs(<br>
scope("selected-macros" "nv-pairs" "sdata")<br>
)<br>
);<br>
};<br>
<br>
But i should add some username and passwords somewhere and don't
know how. Any hints on this ?<br>
<br>
Kind regards<br>
Ivan <br>
</font>
</body>
</html>