Serilog.Sinks.Splunk.TCP 5.0.0-dev-00073

This is a prerelease version of Serilog.Sinks.Splunk.TCP.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Serilog.Sinks.Splunk.TCP --version 5.0.0-dev-00073
                    
NuGet\Install-Package Serilog.Sinks.Splunk.TCP -Version 5.0.0-dev-00073
                    
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.TCP" Version="5.0.0-dev-00073" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Serilog.Sinks.Splunk.TCP" Version="5.0.0-dev-00073" />
                    
Directory.Packages.props
<PackageReference Include="Serilog.Sinks.Splunk.TCP" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Serilog.Sinks.Splunk.TCP --version 5.0.0-dev-00073
                    
#r "nuget: Serilog.Sinks.Splunk.TCP, 5.0.0-dev-00073"
                    
#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.
#:package Serilog.Sinks.Splunk.TCP@5.0.0-dev-00073
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Serilog.Sinks.Splunk.TCP&version=5.0.0-dev-00073&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Serilog.Sinks.Splunk.TCP&version=5.0.0-dev-00073&prerelease
                    
Install as a Cake Tool

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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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 (1)

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

Package Downloads
QueueClasses

dotnet nuget push QueueClasses.1.0.4.nupkg --api-key oy2n7enwyuk4264fiwoq36wyo72gy2gulpfyyfgr6qsg2u --source https://api.nuget.org/v3/index.json

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
5.1.1-dev-00153 233 3/17/2025
5.1.1-dev-00151 178 2/21/2025
5.1.1-dev-00150 154 2/21/2025
5.1.1-dev-00147 155 1/27/2025
5.1.1-dev-00146 146 1/27/2025
5.1.1-dev-00145 131 1/27/2025
5.1.1-dev-00144 143 1/27/2025
5.1.1-dev-00140 156 1/10/2025
5.1.1-dev-00138 158 1/9/2025
5.1.1-dev-00135 165 1/3/2025
5.1.1-dev-00133 139 1/2/2025
5.1.1-dev-00132 164 1/2/2025
5.1.1-dev-00131 165 1/2/2025
5.1.1-dev-00118 161 12/10/2024
5.1.1-dev-00117 160 12/10/2024
5.1.0 24,467 11/13/2024
5.1.0-dev-00114 146 11/13/2024
5.1.0-dev-00112 170 11/13/2024
5.1.0-dev-00110 133 11/12/2024
5.0.2-dev-00107 169 10/25/2024
5.0.2-dev-00105 160 10/25/2024
5.0.2-dev-00102 149 10/10/2024
5.0.2-dev-00100 163 10/10/2024
5.0.2-dev-00099 144 10/10/2024
5.0.2-dev-00098 143 10/10/2024
5.0.2-dev-00092 125 9/23/2024
5.0.2-dev-00090 169 9/9/2024
5.0.2-dev-00088 163 8/22/2024
5.0.1 7,657 8/17/2024
5.0.1-dev-00085 122 7/29/2024
5.0.1-dev-00083 165 7/19/2024
5.0.1-dev-00081 167 7/12/2024
5.0.1-dev-00079 159 7/9/2024
5.0.0 11,926 6/12/2024
5.0.0-dev-00077 175 6/12/2024
5.0.0-dev-00075 147 6/6/2024
5.0.0-dev-00073 164 6/5/2024
5.0.0-dev-00070 151 6/5/2024
4.1.1-dev-00067 186 5/30/2024
4.1.1-dev-00065 159 5/28/2024
4.1.1-dev-00063 208 5/23/2024
4.1.1-dev-00061 183 5/17/2024
4.1.1-dev-00059 157 5/17/2024
4.1.0 1,773 5/3/2024
4.0.5-dev-00056 184 5/3/2024
4.0.5-dev-00054 168 4/30/2024
4.0.5-dev-00048 153 4/19/2024
4.0.4 37,656 4/19/2024
4.0.4-dev-00047 133 4/19/2024
4.0.4-dev-00044 134 4/19/2024
4.0.4-dev-00042 168 4/17/2024
4.0.4-dev-00039 174 4/9/2024
4.0.3 772 4/9/2024
4.0.3-dev-00036 168 4/9/2024
4.0.3-dev-00034 161 4/9/2024
4.0.3-dev-00030 178 4/5/2024
4.0.2 777 4/5/2024
4.0.2-dev-00029 161 4/5/2024
4.0.1 789 4/3/2024
4.0.1-dev-00023 166 4/5/2024
4.0.1-dev-00019 199 4/3/2024
4.0.0 1,923 4/3/2024
1.5.0 25,069 11/7/2021
1.5.0-master-00012 167 4/3/2024
1.5.0-featurese-00003 175 4/3/2024
1.5.0-featurese-00002 173 4/3/2024
1.5.0-dev-00332 494 11/7/2021
1.5.0-dev-00016 181 4/3/2024
1.5.0-dev-00015 160 4/3/2024
1.5.0-dev-00013 202 4/3/2024
1.5.0-dev-00011 188 4/3/2024
1.5.0-dev-00010 178 4/3/2024
1.5.0-dev-00009 160 4/3/2024
1.5.0-dev-00008 172 4/3/2024
1.5.0-dev-00007 183 4/3/2024
1.5.0-dev-00006 215 4/3/2024
1.5.0-dev-00005 173 4/3/2024
1.5.0-dev-00001 197 4/3/2024
1.4.0 7,683 7/2/2020
1.4.0-dev-00292 450 10/15/2020
1.4.0-dev-00286 513 10/12/2020
1.4.0-dev-00282 513 10/12/2020
1.4.0-dev-00276 506 7/2/2020
1.2.0 4,847 6/20/2019
1.2.0-dev-00260 583 6/20/2019
1.2.0-dev-00258 556 6/17/2019
1.2.0-dev-00255 552 6/17/2019
1.1.0 2,065 4/10/2019
1.1.0-dev-00252 536 6/16/2019
1.1.0-dev-00247 703 5/2/2019
1.1.0-dev-00245 598 4/29/2019
1.1.0-dev-00243 589 4/10/2019
1.1.0-dev-00242 573 4/10/2019
1.1.0-dev-00241 622 4/10/2019
1.1.0-dev-00236 600 4/10/2019
1.0.0 1,363 3/15/2019
1.0.0-dev-00234 569 4/10/2019
1.0.0-dev-00229 623 4/4/2019
1.0.0-dev-00228 608 4/4/2019
1.0.0-dev-00223 735 11/27/2018
1.0.0-dev-00221 772 10/31/2018
1.0.0-dev-00219 812 10/8/2018
1.0.0-dev-00217 1,240 5/8/2018
1.0.0-dev-00212 1,317 5/1/2018
1.0.0-dev-00210 1,225 4/27/2018