Serilog.Sinks.Splunk.UDP 4.0.4

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Serilog.Sinks.Splunk.UDP --version 4.0.4
NuGet\Install-Package Serilog.Sinks.Splunk.UDP -Version 4.0.4
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.UDP" Version="4.0.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Serilog.Sinks.Splunk.UDP --version 4.0.4
#r "nuget: Serilog.Sinks.Splunk.UDP, 4.0.4"
#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.UDP as a Cake Addin
#addin nuget:?package=Serilog.Sinks.Splunk.UDP&version=4.0.4

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

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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
4.0.5-dev-00048 0 4/19/2024
4.0.4 0 4/19/2024
4.0.4-dev-00047 0 4/19/2024
4.0.4-dev-00044 0 4/19/2024
4.0.4-dev-00042 54 4/17/2024
4.0.4-dev-00039 72 4/9/2024
4.0.3 99 4/9/2024
4.0.3-dev-00036 75 4/9/2024
4.0.3-dev-00034 71 4/9/2024
4.0.3-dev-00030 71 4/5/2024
4.0.2 89 4/5/2024
4.0.2-dev-00029 70 4/5/2024
4.0.1 86 4/3/2024
4.0.1-dev-00023 69 4/5/2024
4.0.1-dev-00019 78 4/3/2024
4.0.0 82 4/3/2024
1.5.0 3,627 11/7/2021
1.5.0-master-00012 82 4/3/2024
1.5.0-featurese-00003 70 4/3/2024
1.5.0-featurese-00002 70 4/3/2024
1.5.0-dev-00332 298 11/7/2021
1.5.0-dev-00016 70 4/3/2024
1.5.0-dev-00015 71 4/3/2024
1.5.0-dev-00013 74 4/3/2024
1.5.0-dev-00011 68 4/3/2024
1.5.0-dev-00010 71 4/3/2024
1.5.0-dev-00009 70 4/3/2024
1.5.0-dev-00008 75 4/3/2024
1.5.0-dev-00007 76 4/3/2024
1.5.0-dev-00006 78 4/3/2024
1.5.0-dev-00005 75 4/3/2024
1.5.0-dev-00001 80 4/3/2024
1.4.0 6,819 7/2/2020
1.4.0-dev-00292 239 10/15/2020
1.4.0-dev-00286 293 10/12/2020
1.4.0-dev-00282 294 10/12/2020
1.4.0-dev-00276 312 7/2/2020
1.2.0 944 6/20/2019
1.2.0-dev-00260 433 6/20/2019
1.2.0-dev-00258 376 6/17/2019
1.2.0-dev-00255 388 6/17/2019
1.1.0 603 4/10/2019
1.1.0-dev-00252 386 6/16/2019
1.1.0-dev-00247 522 5/2/2019
1.1.0-dev-00245 441 4/29/2019
1.1.0-dev-00243 403 4/10/2019
1.1.0-dev-00242 431 4/10/2019
1.1.0-dev-00241 422 4/10/2019
1.1.0-dev-00236 436 4/10/2019
1.1.0-dev-00234 393 4/10/2019
1.0.0 668 3/15/2019
1.0.0-dev-00229 418 4/4/2019
1.0.0-dev-00228 421 4/4/2019
1.0.0-dev-00223 543 11/27/2018
1.0.0-dev-00221 529 10/31/2018
1.0.0-dev-00219 573 10/8/2018
1.0.0-dev-00217 772 5/8/2018
1.0.0-dev-00212 880 5/1/2018
1.0.0-dev-00210 757 4/27/2018