Hi,

You have two options:
1. The first one is keeping the original syslogd and have nxlog read files
from /var/log/
This is redundant since nxlog can be configured to do the same. Also by
reading the logs you loose both the facility and severity since this is
normally not included in the files written by syslogd.

Unfortunately I cannot help why you had no luck with this approach
because there wasn't enough information provided in your email.

2. The second option is to configure nxlog to read the kernel and syslog
directly and get rid of your syslogd.
This is somewhat sparsely documented here:
http://nxlog-ce.sourceforge.net/nxlog-docs/en/nxlog-reference-manual.html#sources_os_linux

What you need to do is:

* Stop and disable your syslogd, sysklogd, rsyslog, syslog-ng and all
  such.
* Relink /dev/log:
   rm /dev/log 
   ln -s /dev/log /var/run/nxlog/devlog   
  This is only necessary if you are planning to run it non-root.
* Configure modules:

 <Extension _syslog>
        Module xm_syslog
 </Extension>

 <Input syslog>
        Module  im_uds
        Uds     /var/run/nxlog/devlog
        Exec    parse_syslog_bsd();
        FlowControl FALSE
 </Input>

 <Input kernel>
        Module  im_kernel
        Exec    parse_syslog_bsd(); 
 </Input>

Regards,
Botond

On Thu, 1 Aug 2013 11:48:30 +0300
cagil ozturk <cagi...@gmail.com> wrote:

> Hi All,
> 
> I want to configure nxlog on a Linux Ubuntu device as a nxlog client. I
> want to get the Linux Ubuntu device logs (not the logs coming from tcp or
> udp) as input module.
> 
> Are there any configuration module like 'Module im_mseventlog' on windows
> machines. How can I obtain such a configuration for Linux devices? I tried
> reading log files under /var/log/ by configuring with im_file module but
> there were no logs flowing in.

------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
nxlog-ce-users mailing list
nxlog-ce-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users

Reply via email to