mongodb with auth in OSE 3.3/3.4
Hi, I would like to have mongodb support with auth enabled. With syslog-ng-OSE 3.3.5 this seems not supported? destination d_mongo { mongodb( username("XXXXXXX") password("XXXXXXXXXXXX")); }; results in not connecting right to mongodb (despite no configuration error). As an excuse, not being a dev, I grep-ed these parameters from the source, but not from the docs :). ATM I have no luck with 3.4.0alpha3 and mongodb (even without auth). But what I'm interested in, is to know if "mongodb with auth" will be supported in the 3.4 release? Or what future plans exists? Thanks Sascha. Vorsitzender des Aufsichtsrates: Ralf Hiltenkamp Geschäftsführung: Michael Krüger (Sprecher), Stephan Drescher Sitz der Gesellschaft: Halle/Saale Registergericht: Amtsgericht Stendal | Handelsregister-Nr. HRB 208414 UST-ID-Nr. DE 158253683 Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Empfänger sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail oder des Inhalts dieser Mail sind nicht gestattet. Diese Kommunikation per E-Mail ist nicht gegen den Zugriff durch Dritte geschützt. Die GISA GmbH haftet ausdrücklich nicht für den Inhalt und die Vollständigkeit von E-Mails und den gegebenenfalls daraus entstehenden Schaden. Sollte trotz der bestehenden Viren-Schutzprogramme durch diese E-Mail ein Virus in Ihr System gelangen, so haftet die GISA GmbH - soweit gesetzlich zulässig - nicht für die hieraus entstehenden Schäden.
"Lucas, Sascha" <Sascha.Lucas@gisa.de> writes:
I would like to have mongodb support with auth enabled. With syslog-ng-OSE 3.3.5 this seems not supported?
Indeed, 3.3.5 does not support that. The settings are accepted, as basic support was once in the driver, but for various reasons, was turned off.
ATM I have no luck with 3.4.0alpha3 and mongodb (even without auth). But what I'm interested in, is to know if "mongodb with auth" will be supported in the 3.4 release?
Hopefully, yes, it will be supported by 3.4, once I get around to write the code to do it (or find someone who's willing to write it ;).
Or what future plans exists?
I plan to write auth support for 3.4. It's not particularly hard (the library syslog-ng uses to talk to mongodb supports auth already), one just has to be careful to properly handle reconnects and failovers when using replicasets. That is something neither syslog-ng, nor the library under it does well. If anyone wants to add that feature themselves, I'm happy to explain the code, and how it can be added - but at the moment, I lack the time to write the code myself. -- |8]
participants (2)
-
Gergely Nagy
-
Lucas, Sascha