<div dir="ltr">Hello,<div><br></div><div>You can check the available modules with the following command: syslog-ng -V</div><div>Probably you will not find mongodb in the list of modules.<br>If you compile from source syslog-ng try to detect the mongodb client header files. If it doesn't find a proper one, syslog-ng will be compiling without the mongodb destination driver.</div><div>So you have to install the proper header file and compile syslog-ng again.</div><div><br></div><div>If you use ubuntu/debian distro the following command may help: sudo apt-get install libmongo-client-dev</div><div><br></div><div><br></div><div>I hope it helps,</div><div>Br,</div><div>Laci</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 6 June 2015 at 00:17, Rick Silacci <span dir="ltr"><<a href="mailto:rick@velociter.net" target="_blank">rick@velociter.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
Can you tell what I'm doing wrong here? I entered destination mongodb { mongodb(); };<br>
log { source(src); destination(mongodb); }; in syslogng.conf as in the directions and this is what happens:<br>
<br>
user@syslog:~/syslogng-web$ sudo service syslog-ng restart<br>
* Stopping system logging syslog-ng [ OK ]<br>
* Starting system logging syslog-ng Error parsing destination, destination plugin mongodb not found in /etc/syslog-ng/syslog-ng.conf at line 30, column 23:<br>
<br>
destination mongodb { mongodb() ; };<br>
^^^^^^^<br>
______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
<br>
</blockquote></div><br></div>