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
https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users