Serilog.Sinks.Splunk.TCP
1.5.0-dev-00005
See the version list below for details.
dotnet add package Serilog.Sinks.Splunk.TCP --version 1.5.0-dev-00005
NuGet\Install-Package Serilog.Sinks.Splunk.TCP -Version 1.5.0-dev-00005
<PackageReference Include="Serilog.Sinks.Splunk.TCP" Version="1.5.0-dev-00005" />
paket add Serilog.Sinks.Splunk.TCP --version 1.5.0-dev-00005
#r "nuget: Serilog.Sinks.Splunk.TCP, 1.5.0-dev-00005"
// Install Serilog.Sinks.Splunk.TCP as a Cake Addin #addin nuget:?package=Serilog.Sinks.Splunk.TCP&version=1.5.0-dev-00005&prerelease // Install Serilog.Sinks.Splunk.TCP as a Cake Tool #tool nuget:?package=Serilog.Sinks.Splunk.TCP&version=1.5.0-dev-00005&prerelease
Serilog.Sinks.Splunk
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 - 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.
Build status
Branch | AppVeyor |
---|---|
master | |
dev |
Serilog is copyright © 2013-2016 Serilog Contributors - Provided under the Apache License, Version 2.0. Needle and thread logo a derivative of work by Kenneth Appiah.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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 was computed. 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. |
-
.NETStandard 2.0
- Serilog.Sinks.Splunk (>= 3.7.0)
- Splunk.Logging.Common.Core (>= 1.0.0)
-
.NETStandard 2.1
- Serilog.Sinks.Splunk (>= 3.7.0)
- Splunk.Logging.Common.Core (>= 1.0.0)
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-00118 | 70 | 12/10/2024 |
5.1.1-dev-00117 | 76 | 12/10/2024 |
5.1.0 | 308 | 11/13/2024 |
5.1.0-dev-00114 | 83 | 11/13/2024 |
5.1.0-dev-00112 | 82 | 11/13/2024 |
5.1.0-dev-00110 | 71 | 11/12/2024 |
5.0.2-dev-00107 | 82 | 10/25/2024 |
5.0.2-dev-00105 | 77 | 10/25/2024 |
5.0.2-dev-00102 | 91 | 10/10/2024 |
5.0.2-dev-00100 | 90 | 10/10/2024 |
5.0.2-dev-00099 | 89 | 10/10/2024 |
5.0.2-dev-00098 | 86 | 10/10/2024 |
5.0.2-dev-00092 | 77 | 9/23/2024 |
5.0.2-dev-00090 | 96 | 9/9/2024 |
5.0.2-dev-00088 | 122 | 8/22/2024 |
5.0.1 | 3,468 | 8/17/2024 |
5.0.1-dev-00085 | 72 | 7/29/2024 |
5.0.1-dev-00083 | 97 | 7/19/2024 |
5.0.1-dev-00081 | 90 | 7/12/2024 |
5.0.1-dev-00079 | 99 | 7/9/2024 |
5.0.0 | 2,195 | 6/12/2024 |
5.0.0-dev-00077 | 100 | 6/12/2024 |
5.0.0-dev-00075 | 108 | 6/6/2024 |
5.0.0-dev-00073 | 111 | 6/5/2024 |
5.0.0-dev-00070 | 102 | 6/5/2024 |
4.1.1-dev-00067 | 125 | 5/30/2024 |
4.1.1-dev-00065 | 107 | 5/28/2024 |
4.1.1-dev-00063 | 126 | 5/23/2024 |
4.1.1-dev-00061 | 110 | 5/17/2024 |
4.1.1-dev-00059 | 113 | 5/17/2024 |
4.1.0 | 442 | 5/3/2024 |
4.0.5-dev-00056 | 103 | 5/3/2024 |
4.0.5-dev-00054 | 112 | 4/30/2024 |
4.0.5-dev-00048 | 97 | 4/19/2024 |
4.0.4 | 15,065 | 4/19/2024 |
4.0.4-dev-00047 | 87 | 4/19/2024 |
4.0.4-dev-00044 | 94 | 4/19/2024 |
4.0.4-dev-00042 | 110 | 4/17/2024 |
4.0.4-dev-00039 | 107 | 4/9/2024 |
4.0.3 | 145 | 4/9/2024 |
4.0.3-dev-00036 | 104 | 4/9/2024 |
4.0.3-dev-00034 | 108 | 4/9/2024 |
4.0.3-dev-00030 | 105 | 4/5/2024 |
4.0.2 | 140 | 4/5/2024 |
4.0.2-dev-00029 | 109 | 4/5/2024 |
4.0.1 | 160 | 4/3/2024 |
4.0.1-dev-00023 | 103 | 4/5/2024 |
4.0.1-dev-00019 | 121 | 4/3/2024 |
4.0.0 | 1,217 | 4/3/2024 |
1.5.0 | 18,894 | 11/7/2021 |
1.5.0-master-00012 | 108 | 4/3/2024 |
1.5.0-featurese-00003 | 128 | 4/3/2024 |
1.5.0-featurese-00002 | 116 | 4/3/2024 |
1.5.0-dev-00332 | 350 | 11/7/2021 |
1.5.0-dev-00016 | 132 | 4/3/2024 |
1.5.0-dev-00015 | 108 | 4/3/2024 |
1.5.0-dev-00013 | 126 | 4/3/2024 |
1.5.0-dev-00011 | 113 | 4/3/2024 |
1.5.0-dev-00010 | 125 | 4/3/2024 |
1.5.0-dev-00009 | 107 | 4/3/2024 |
1.5.0-dev-00008 | 119 | 4/3/2024 |
1.5.0-dev-00007 | 119 | 4/3/2024 |
1.5.0-dev-00006 | 130 | 4/3/2024 |
1.5.0-dev-00005 | 119 | 4/3/2024 |
1.5.0-dev-00001 | 121 | 4/3/2024 |
1.4.0 | 6,836 | 7/2/2020 |
1.4.0-dev-00292 | 305 | 10/15/2020 |
1.4.0-dev-00286 | 345 | 10/12/2020 |
1.4.0-dev-00282 | 344 | 10/12/2020 |
1.4.0-dev-00276 | 337 | 7/2/2020 |
1.2.0 | 4,115 | 6/20/2019 |
1.2.0-dev-00260 | 409 | 6/20/2019 |
1.2.0-dev-00258 | 399 | 6/17/2019 |
1.2.0-dev-00255 | 388 | 6/17/2019 |
1.1.0 | 1,261 | 4/10/2019 |
1.1.0-dev-00252 | 387 | 6/16/2019 |
1.1.0-dev-00247 | 523 | 5/2/2019 |
1.1.0-dev-00245 | 429 | 4/29/2019 |
1.1.0-dev-00243 | 407 | 4/10/2019 |
1.1.0-dev-00242 | 421 | 4/10/2019 |
1.1.0-dev-00241 | 434 | 4/10/2019 |
1.1.0-dev-00236 | 415 | 4/10/2019 |
1.0.0 | 601 | 3/15/2019 |
1.0.0-dev-00234 | 421 | 4/10/2019 |
1.0.0-dev-00229 | 459 | 4/4/2019 |
1.0.0-dev-00228 | 426 | 4/4/2019 |
1.0.0-dev-00223 | 561 | 11/27/2018 |
1.0.0-dev-00221 | 572 | 10/31/2018 |
1.0.0-dev-00219 | 614 | 10/8/2018 |
1.0.0-dev-00217 | 777 | 5/8/2018 |
1.0.0-dev-00212 | 843 | 5/1/2018 |
1.0.0-dev-00210 | 778 | 4/27/2018 |