NLog.GelfTarget 4.4.1

NLog.Targets.Gelf is a custom target for NLog and Graylog2 server

To use NLog.Targets.Gelf just add the following to your config file and place NLog.Targets.Gelf.dll in the same location as the NLog.dll file:

<nlog>
<extensions>
<add assembly="NLog.Targets.Gelf" />
</extensions>

<targets>
<target name="Gelf" type="Gelf" gelfserver="" port="12201" maxchunksize="8154" />
</targets>
<rules>
<logger name="*" minLevel="Trace" appendTo="Gelf"/>
</rules>
</nlog>

This project was an amalgamation of NLog.Targets.Syslog (https://github.com/graffen/NLog.Targets.Syslog) and Gelf4Net (https://github.com/jjchiw/gelf4net).  Thanks to those guys for their code.

This project is also using Newtonsoft.Json.dll (https://json.codeplex.com/) for json serialization.

Install-Package NLog.GelfTarget -Version 4.4.1
dotnet add package NLog.GelfTarget --version 4.4.1
<PackageReference Include="NLog.GelfTarget" Version="4.4.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NLog.GelfTarget --version 4.4.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
4.4.1 23,201 1/4/2017
4.3.9 2,076 9/21/2016
4.2.3 1,121 3/21/2016
4.2.0 769 11/19/2015
4.1.3 446 10/13/2015
4.1.2 363 10/6/2015
1.1.0 1,195 3/11/2015
1.0.0 603 12/12/2014