[syslog-ng] mongodb not found in /etc/syslog-ng/syslog-ng.conf at line 30, column 23:

Laci Mészáros lacienator at gmail.com
Sun Jun 7 08:54:55 CEST 2015


Hello,

You can check the available modules with the following command: syslog-ng -V
Probably you will not find mongodb in the list of modules.
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.
So you have to install the proper header file and compile syslog-ng again.

If you use ubuntu/debian distro the following command may help: sudo
apt-get install libmongo-client-dev


I hope it helps,
Br,
Laci

On 6 June 2015 at 00:17, Rick Silacci <rick at velociter.net> wrote:

> Hi,
>  Can you tell what I'm doing wrong here?  I entered destination mongodb {
> mongodb(); };
> log { source(src); destination(mongodb); }; in syslogng.conf as in the
> directions and this is what happens:
>
> user at syslog:~/syslogng-web$ sudo service syslog-ng restart
>  * Stopping system logging syslog-ng
>                                      [ OK ]
>  * 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:
>
> destination mongodb { mongodb() ; };
>                  ^^^^^^^
>
> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation:
> http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.balabit.com/wiki/syslog-ng-faq
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20150607/6de82c61/attachment.htm 


More information about the syslog-ng mailing list