Serilog.Sinks.Splunk 4.0.3

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Serilog.Sinks.Splunk --version 4.0.3
NuGet\Install-Package Serilog.Sinks.Splunk -Version 4.0.3
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Serilog.Sinks.Splunk" Version="4.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Serilog.Sinks.Splunk --version 4.0.3
#r "nuget: Serilog.Sinks.Splunk, 4.0.3"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Serilog.Sinks.Splunk as a Cake Addin
#addin nuget:?package=Serilog.Sinks.Splunk&version=4.0.3

// Install Serilog.Sinks.Splunk as a Cake Tool
#tool nuget:?package=Serilog.Sinks.Splunk&version=4.0.3

Serilog.Sinks.Splunk

Build Status NuGet Version Join the chat at https://gitter.im/serilog/serilog

A Serilog sink that writes events to the Splunk. Supports .NET 4.5+, .NET Core, and platforms compatible with the .NET Platform Standard net45, netstandard1.1, netstandard2.0.

Package Logo

Package - Serilog.Sinks.Splunk

Getting started

To get started install the Serilog.Sinks.Splunk package:

PM> Install-Package Serilog.Sinks.Splunk

OR

$ dotnet add package Serilog.Sinks.Splunk

If using the TCP or UDP sinks install the following packages

  • TCP: Serilog.Sinks.Splunk.TCP
  • UDP: Serilog.Sinks.Splunk.UDP

To start using the Splunk Event Collector (Splunk 6.3 and above), logging can be setup as follows.

var log = new LoggerConfiguration()
    .WriteTo.EventCollector("https://mysplunk:8088/services/collector/event", "myeventcollectortoken")
    .CreateLogger();

If using appsettings.json for configuration the following example illustrates using the Event Collector and Console sinks.

{
    "Serilog": {
        "Using": ["Serilog.Sinks.Console", "Serilog.Sinks.Splunk"],
        "MinimumLevel": "Information",
        "WriteTo": [{
                "Name": "Console"
            },
            {
                "Name": "EventCollector",
                "Args": {
                    "splunkHost": "http://splunk:8088",
                    "uriPath": "services/collector/event",
                    "eventCollectorToken": "00112233-4455-6677-8899-AABBCCDDEEFF"
                }
            }
        ],
        "Properties": {
            "Application": "Serilog Splunk Console Sample"
        }
    }
}

More information about Serilog is available on the wiki.

Serilog is copyright © 2013-2024 Serilog Contributors - Provided under the Apache License, Version 2.0. Needle and thread logo a derivative of work by Kenneth Appiah.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (17)

Showing the top 5 NuGet packages that depend on Serilog.Sinks.Splunk:

Package Downloads
Serilog.Builder

Builder with my serilog common settings for use Console, Seq and Splunk sinks.

IkeMtz.NRSRx.Logging.Splunk

Package Description

Serilog.Sinks.Splunk.TCP

The Splunk TCP Sink for Serilog

VaraniumSharp.Initiator

Ring 2 library based on VaraniumSharp. This library makes use of and extends VaraniumSharp to be a base for other (Ring 3) projects.

Serilog.Sinks.Splunk.UDP

The Splunk UDP Sink for Serilog

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
4.0.4-dev-00039 100 4/9/2024
4.0.3 1,478 4/9/2024
4.0.3-dev-00036 88 4/9/2024
4.0.3-dev-00034 87 4/9/2024
4.0.3-dev-00030 83 4/5/2024
4.0.2 1,543 4/5/2024
4.0.2-dev-00029 70 4/5/2024
4.0.1 894 4/3/2024
4.0.1-dev-00023 70 4/5/2024
4.0.1-dev-00019 74 4/3/2024
4.0.0 435 4/3/2024
4.0.0-master-00012 86 4/3/2024
4.0.0-featurese-00003 89 4/3/2024
4.0.0-featurese-00002 82 4/3/2024
4.0.0-dev-00016 71 4/3/2024
4.0.0-dev-00015 91 4/3/2024
4.0.0-dev-00013 75 4/3/2024
4.0.0-dev-00011 72 4/3/2024
4.0.0-dev-00010 71 4/3/2024
4.0.0-dev-00009 72 4/3/2024
4.0.0-dev-00008 77 4/3/2024
4.0.0-dev-00007 85 4/3/2024
4.0.0-dev-00006 78 4/3/2024
4.0.0-dev-00005 102 4/3/2024
4.0.0-dev-00001 99 4/3/2024
3.7.0 3,619,491 11/7/2021
3.7.0-dev-00332 1,226 11/7/2021
3.6.0 1,879,780 10/15/2020
3.6.0-dev-00292 1,001 10/15/2020
3.5.0 46,910 10/12/2020
3.5.0-dev-00286 1,095 10/12/2020
3.4.0 466,095 7/2/2020
3.4.0-dev-00282 1,173 10/12/2020
3.4.0-dev-00276 1,071 7/2/2020
3.3.0 1,890,033 6/20/2019
3.3.0-dev-00260 1,235 6/20/2019
3.3.0-dev-00258 1,218 6/17/2019
3.3.0-dev-00255 1,259 6/17/2019
3.2.0 46,040 5/15/2019
3.2.0-dev-00252 1,183 6/16/2019
3.2.0-dev-00247 1,421 5/2/2019
3.2.0-dev-00245 1,305 4/29/2019
3.2.0-dev-00243 1,368 4/10/2019
3.2.0-dev-00242 1,236 4/10/2019
3.2.0-dev-00241 1,145 4/10/2019
3.1.0 64,270 4/10/2019
3.1.0-dev-00236 1,276 4/10/2019
3.1.0-dev-00234 1,249 4/10/2019
3.1.0-dev-00229 1,254 4/4/2019
3.1.0-dev-00228 1,309 4/4/2019
3.0.0 24,465 3/15/2019
3.0.0-dev-00223 3,066 11/27/2018
3.0.0-dev-00221 1,578 10/31/2018
3.0.0-dev-00219 1,479 10/8/2018
3.0.0-dev-00217 2,164 5/8/2018
3.0.0-dev-00212 1,759 5/1/2018
3.0.0-dev-00210 1,673 4/27/2018
2.6.0-dev-00206 1,875 3/7/2018
2.6.0-dev-00204 1,754 3/7/2018
2.5.0 1,497,534 1/23/2018
2.5.0-dev-00200 1,795 1/15/2018
2.5.0-dev-00198 1,794 12/12/2017
2.4.0 116,570 9/13/2017
2.4.0-dev-00194 1,700 9/13/2017
2.4.0-dev-00191 1,602 9/13/2017
2.3.1-dev-00188 1,621 9/13/2017
2.3.1-dev-00184 1,639 9/12/2017
2.3.1-dev-00183 1,687 8/31/2017
2.3.1-dev-00180 1,649 8/17/2017
2.3.0 30,144 6/21/2017
2.3.0-dev-00176 1,671 6/16/2017
2.2.1 7,841 5/28/2017
2.2.1-dev-00174 1,711 6/16/2017
2.2.1-dev-00170 1,661 6/3/2017
2.2.1-dev-00166 1,601 5/28/2017
2.2.0-dev-00162 1,723 5/26/2017
2.2.0-dev-00159 1,614 5/25/2017
2.2.0-dev-00157 1,658 5/21/2017
2.2.0-dev-00153 1,671 5/20/2017
2.1.3 42,303 3/3/2017
2.1.3-dev-00142 1,678 3/3/2017
2.1.2 15,143 1/28/2017
2.1.2-dev-00139 1,807 1/27/2017
2.1.2-dev-00135 1,656 1/27/2017
2.1.1 7,879 10/25/2016
2.1.1-dev-00130 1,657 10/25/2016
2.1.1-dev-00128 1,683 10/25/2016
2.1.1-dev-00126 1,635 10/7/2016
2.1.0 2,298 10/7/2016
2.1.0-dev-00122 1,657 10/7/2016
2.1.0-dev-00119 1,611 10/6/2016
2.1.0-dev-00116 1,688 10/6/2016
2.1.0-dev-00113 1,658 8/5/2016
2.0.1 42,197 7/1/2016
2.0.0-rc-93 1,641 6/28/2016
2.0.0-rc-88 1,827 6/2/2016
2.0.0-rc-86 1,660 6/2/2016
2.0.0-rc-77 1,694 5/18/2016
1.8.83 3,551 5/25/2016
1.8.81 1,933 5/25/2016
1.8.80 1,987 5/25/2016
1.7.70 5,166 3/15/2016
1.7.61 2,417 11/13/2015
1.6.52 2,336 10/13/2015
1.6.51 1,999 10/13/2015
1.6.49 2,011 10/13/2015
1.6.42 1,953 10/12/2015
1.5.31 2,567 9/29/2015
1.5.30 5,047 5/19/2015
1.5.25 2,188 4/18/2015
1.5.24 2,206 4/11/2015
1.5.21 2,060 4/11/2015
1.5.19 2,056 4/1/2015
1.5.18 2,068 3/30/2015
1.5.17 1,967 3/27/2015
1.5.14 2,026 3/27/2015
1.5.13 2,052 3/27/2015
1.5.8 2,504 2/20/2015
1.5.7 2,333 2/20/2015
1.4.182 2,335 2/15/2015
1.4.168 2,160 2/8/2015
1.4.155 2,038 2/1/2015
1.4.139 2,154 1/23/2015
1.4.118 2,044 1/13/2015
1.4.113 2,009 1/6/2015
1.4.102 2,418 12/21/2014
1.4.99 2,426 12/18/2014
1.4.97 2,284 12/18/2014
1.4.76 2,238 12/8/2014
1.4.39 2,240 11/26/2014
1.4.34 2,122 11/24/2014
1.4.28 2,136 11/24/2014
1.4.27 2,173 11/23/2014
1.4.23 2,252 11/21/2014
1.4.21 2,124 11/21/2014
1.4.18 2,395 11/18/2014
1.4.15 3,136 11/4/2014
1.4.14 2,014 10/23/2014
1.4.13 2,014 10/23/2014
1.4.12 2,038 10/12/2014
1.4.11 2,063 10/8/2014
1.4.10 2,104 9/26/2014
1.4.9 2,115 9/17/2014
1.4.8 2,010 9/11/2014
1.4.7-pre 1,796 9/1/2014
1.4.6-pre 1,819 8/31/2014
1.4.5-pre 1,795 8/27/2014
1.4.4 2,074 8/27/2014
1.4.3 2,069 8/25/2014
1.4.2 2,042 8/23/2014
1.4.1 2,116 8/23/2014
1.3.43 2,121 8/4/2014
1.3.42 1,978 7/30/2014
1.3.41 2,073 7/28/2014
1.3.40 2,046 7/26/2014
1.3.39 2,025 7/25/2014
1.3.36 2,069 7/20/2014
1.3.35 2,047 7/17/2014
1.3.34 2,085 7/6/2014
1.3.33 2,055 6/30/2014
1.3.30 2,143 6/19/2014
1.3.29 2,056 6/19/2014
1.3.28 2,125 6/19/2014
1.3.27 2,099 6/18/2014
1.3.25 2,058 6/9/2014
1.3.24 2,057 5/21/2014
1.3.23 2,044 5/20/2014
1.3.20 2,064 5/18/2014
1.3.19 2,093 5/17/2014
1.3.18 2,073 5/17/2014
1.3.17 2,078 5/17/2014
1.3.16 2,041 5/17/2014
1.3.15 1,978 5/16/2014
1.3.14 2,044 5/16/2014
1.3.13 2,078 5/16/2014
1.3.12 2,088 5/14/2014
1.3.7 2,167 5/11/2014
1.3.6 2,007 5/9/2014
1.3.5 2,071 5/6/2014
1.3.4 2,070 5/4/2014
1.3.3 2,092 4/28/2014
1.3.1 2,250 4/26/2014
1.2.53 2,117 4/26/2014
1.2.52 2,144 4/24/2014
1.2.51 2,161 4/18/2014
1.2.50 2,225 4/18/2014
1.2.49 2,278 4/17/2014
1.2.48 2,218 4/14/2014
1.2.47 2,237 4/14/2014
1.2.45 2,223 4/13/2014
1.2.44 2,245 4/9/2014
1.2.41 2,154 4/7/2014
1.2.40 2,123 4/7/2014
1.2.39 2,092 3/29/2014
1.2.37 2,198 3/29/2014
1.2.29 2,065 3/16/2014
1.2.26 2,112 3/12/2014
1.2.25 2,209 2/20/2014
0.9.9 4,568 11/23/2013