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

Rick Silacci rick at velociter.net
Mon Jun 8 17:16:26 CEST 2015


Mongodb wasn’t listed…I’ll go from there.

Thanks for your help!

From: syslog-ng-bounces at lists.balabit.hu [mailto:syslog-ng-bounces at lists.balabit.hu] On Behalf Of Laci Mészáros
Sent: Saturday, June 06, 2015 11:55 PM
To: Syslog-ng users' and developers' mailing list
Subject: Re: [syslog-ng] mongodb not found in /etc/syslog-ng/syslog-ng.conf at line 30, column 23:

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<mailto: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/20150608/80c9c9bc/attachment.htm 


More information about the syslog-ng mailing list