Created
October 24, 2014 02:13
-
-
Save gt50/5a689db86d2b45644ef3 to your computer and use it in GitHub Desktop.
nxlog.conf for pacs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 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 | |
<Extension syslog> | |
Module xm_syslog | |
</Extension> | |
<Extension json> | |
Module xm_json | |
</Extension> | |
<Input eventlog_in> | |
Module im_msvistalog | |
Exec $raw_event = to_json(); | |
</Input> | |
<Output eventlog_out> | |
Module om_tcp | |
Host 10.1.2.84 | |
Port 3516 | |
</Output> | |
<Input importer_in> | |
Module im_file | |
File "K:\AMICAS2DATA\log\importer.log" | |
ReadFromLast True | |
SavePos True | |
PollInterval 5 | |
</Input> | |
<Output importer_out> | |
Module om_tcp | |
Host 10.1.2.84 | |
Port 3517 | |
</Output> | |
<Route 1> | |
Path eventlog_in => eventlog_out | |
</Route> | |
<Route 2> | |
Path importer_in => importer_out | |
</Route> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment