Hi,
I would like to harden the security by enabling authentication between syslog-ng and MongoDB.
I'm using syslog-ng v3.38 and MongoDB v6.0.8
At the destination I tried the below two methods but none of themt worked, am I doing something wrong? Or the authentication is not supported?
---> First method:
---> Second method:
password("SamplePass")
collection("logs")
value-pairs(
pair("datetime" "${S_ISODATE}")
pair("privateip" "${privateip}")
pair("portstatus" "${PORTSTATUS}")
pair("host" "${HOST}"))
);
};
Appreciate your help
Best regards