Technical Resources
Educational Resources
Connect with Us
To configure remote syslog from Windows and send log files and event logs from all Windows variants, we recommend nxlog. In case nxlog will not run on your machine, Eventlog-to-Syslog can be installed on the machine.
Windows events can also be sent using the SolarWinds Snap Agent. See Using the SolarWinds SnapAgent.
C:\Program Files (x86)\nxlog, or on 32 bit platforms, C:\Program Files\nxlog.
logsN.papertrailapp.com
and XXXXX
with the details shown under log destinations.File 'C:\\path\\to\\*.log'
to send the contents of a local log file. Note that the exact syntax of the filename is critical: use double backslashes and single quotes, or consult the nxlog documentation for options.For multiple log files in different directories, add more <Input watchfileN>
blocks and include them in Route 1 near the bottom of the example config. The commented out <Input watchfile2>
block illustrates this process.
cert
directory under your nxlog installation location.define CERTDIR %ROOT%\cert
to the top of the file, near the other define statements.CAFile %CERTDIR%/papertrail-bundle.pem2
AllowUntrusted FALSE
4. Restart the nxlog service.
In case nxlog will not run on your machine, Eventlog-to-Syslog can be installed and configured using the instructions below.
Download evtsys-64bit.zip
or evtsys32bit.zip
from Google Code. As of this writing, the current version is 4.5.1.
Download the regular build, not the Large Packet
build. The Large Packet
build changes the maximum packet size from 1500 bytes to 4096 bytes. The largest packet (MTU) on the Internet is 1500 bytes, so the regular build is required.
Extract the .zip file. Copy the 2 extracted files to C:\Windows\System32
(or your system’s equivalent directory).
C:\Windows\System32
.evtsys.exe
to install the service, providing the destination host and port from Papertrail’s Add Systems page. For example:> evtsys.exe -i -h logsN.papertrailapp.com -p XXXXX
Change the logsN
and XXXXX
arguments to match your Papertrail log destination.
This will start the eventlog to syslog relay. Subsequent Windows events should appear in Papertrail within 5 seconds.
Here are the full arguments and the readme.
To uninstall the service, run with -u
, like:
> evtsys.exe -u -h logsN.papertrailapp.com -p XXXXX
Change the logsN
and XXXXX
arguments to match your Papertrail log destination.
In addition to the Services control panel, the service can be controlled with:
> net start evtsys
> net stop evtsys
The scripts are not supported under any SolarWinds support program or service. The scripts are provided AS IS without warranty of any kind. SolarWinds further disclaims all warranties including, without limitation, any implied warranties of merchantability or of fitness for a particular purpose. The risk arising out of the use or performance of the scripts and documentation stays with you. In no event shall SolarWinds or anyone else involved in the creation, production, or delivery of the scripts be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the scripts or documentation.