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