Its working now.
I don’t know why it is working now but im happy ☺
Thanks!
From: Bons, John [mailto:john.b...@philips.com]
Sent: Thursday, February 26, 2015 8:38 AM
To: nxlog-ce-users@lists.sourceforge.net
Subject: Re: [nxlog-ce-users] getting file logging im_file
Hi,
Nothing is logged in the data folder.
This is my current config for im_file
<Input in>
Module im_file
File 'C:\\Deploy\\acesc-config.log'
SavePos TRUE
</Input>
Also I tried double quotes&Different directorys.
The weird thing is when I change the module to windows event messages
(im_msvistalog) it is working.
How can I troubleshoot this further?
From: Andrei-Florian Staicu [mailto:andrei.sta...@gmail.com]
Sent: Wednesday, February 25, 2015 9:55 PM
To: Bons, John;
nxlog-ce-users@lists.sourceforge.net<mailto:nxlog-ce-users@lists.sourceforge.net>
Subject: Re: [nxlog-ce-users] getting file logging im_file
Hi,
Look at the documentation (the im_file module), and change the path of the file
to monitor to C:\\Deploy\\sc-config.log
Also check out the nxlog log file, in the program files\nxlog\data folder
On Wed, Feb 25, 2015 at 10:33 PM Bons, John
<john.b...@philips.com<mailto:john.b...@philips.com>> wrote:
Hi im struggling with the following:
I want to monitor a file on the location C:\Deploy\sc-config.log and I
configured it like below.
But graylog is not receiving any data from this file.
If I use the im_msvistalog module graylog is receiving messages. But the
im_file module does not work.
What can I do?
## This is a sample configuration file. See the nxlog reference manual about the
## configuration options. It should be installed locally and is also available
## online at http://nxlog.org/nxlog-docs/en/nxlog-reference-manual.html
## Please set the ROOT to the folder your nxlog was installed into,
## otherwise it will not start.
#define ROOT C:\Program Files\nxlog
define ROOT C:\Program Files (x86)\nxlog
Moduledir %ROOT%\modules
CacheDir %ROOT%\data
Pidfile %ROOT%\data\nxlog.pid
SpoolDir %ROOT%\data
LogFile %ROOT%\data\nxlog.log
LogLevel error
<Extension gelf>
Module xm_gelf
</Extension>
<Input in>
Module im_file
File "C:\Deploy\sc-config.log"
SavePos TRUE
</Input>
<Output out>
Module om_udp
Host hostname.xyz.philips
Port 12201
OutputType gelf
</Output>
<Route 1>
Path in => out
</Route>
John Bons
Philips-IT – Compute & Services platform
High Tech Campus 43-2B, 5656 AE Eindhoven or Philips Healthcare, Best (QG 024),
5684 PC
Tel: +31 (0)40 27 63051, Email:
john.b...@philips.com<mailto:john.b...@philips.com>
[cid:Philipsshield]
________________________________
The information contained in this message may be confidential and legally
protected under applicable law. The message is intended solely for the
addressee(s). If you are not the intended recipient, you are hereby notified
that any use, forwarding, dissemination, or reproduction of this message is
strictly prohibited and may be unlawful. If you are not the intended recipient,
please contact the sender by return e-mail and destroy all copies of the
original message.
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now.
http://goparallel.sourceforge.net/_______________________________________________
nxlog-ce-users mailing list
nxlog-ce-users@lists.sourceforge.net<mailto:nxlog-ce-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
nxlog-ce-users mailing list
nxlog-ce-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users