{"id":29031827,"url":"https://github.com/serilog-contrib/serilog-sinks-splunk","last_synced_at":"2025-06-26T10:05:41.208Z","repository":{"id":26863230,"uuid":"30323410","full_name":"serilog-contrib/serilog-sinks-splunk","owner":"serilog-contrib","description":"A Serilog sink that writes to Splunk","archived":false,"fork":false,"pushed_at":"2024-09-09T19:00:46.000Z","size":504,"stargazers_count":46,"open_issues_count":2,"forks_count":47,"subscribers_count":7,"default_branch":"dev","last_synced_at":"2024-09-09T23:31:01.157Z","etag":null,"topics":["serilog","serilog-sink","splunk"],"latest_commit_sha":null,"homepage":"https://splunk.com","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/serilog-contrib.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-02-04T21:57:09.000Z","updated_at":"2024-09-09T19:00:42.000Z","dependencies_parsed_at":"2024-04-09T15:32:57.150Z","dependency_job_id":"a9cc72d2-e092-4f43-92a1-44262fa4f129","html_url":"https://github.com/serilog-contrib/serilog-sinks-splunk","commit_stats":{"total_commits":204,"total_committers":24,"mean_commits":8.5,"dds":0.3137254901960784,"last_synced_commit":"82e9aae2abae256206f076a9f412577b577849db"},"previous_names":["serilog/serilog-sinks-splunk"],"tags_count":45,"template":false,"template_full_name":null,"purl":"pkg:github/serilog-contrib/serilog-sinks-splunk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serilog-contrib%2Fserilog-sinks-splunk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serilog-contrib%2Fserilog-sinks-splunk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serilog-contrib%2Fserilog-sinks-splunk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serilog-contrib%2Fserilog-sinks-splunk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/serilog-contrib","download_url":"https://codeload.github.com/serilog-contrib/serilog-sinks-splunk/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serilog-contrib%2Fserilog-sinks-splunk/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262044448,"owners_count":23249752,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["serilog","serilog-sink","splunk"],"created_at":"2025-06-26T10:05:40.635Z","updated_at":"2025-06-26T10:05:41.201Z","avatar_url":"https://github.com/serilog-contrib.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Serilog.Sinks.Splunk\n\n![Build Status](https://github.com/serilog-contrib/serilog-sinks-splunk/actions/workflows/ci.yml/badge.svg?branch=dev)\n[![NuGet Version](https://buildstats.info/nuget/Serilog.Sinks.Splunk)](https://www.nuget.org/packages/Serilog.Sinks.Splunk)\n[![Join the chat at https://gitter.im/serilog/serilog](https://img.shields.io/gitter/room/serilog/serilog.svg)](https://gitter.im/serilog/serilog)\n \nA Serilog sink that writes events to the [Splunk](https://splunk.com). Supports .NET 4.5+, .NET Core, and platforms compatible with the [.NET Platform Standard](https://docs.microsoft.com/en-us/dotnet/standard/net-standard) `net45`, `netstandard1.1`, `netstandard2.0`.\n\n[![Package Logo](https://serilog.net/images/serilog-sink-nuget.png)](https://nuget.org/packages/serilog.sinks.splunk)\n\n**Package** - [Serilog.Sinks.Splunk](https://nuget.org/packages/serilog.sinks.splunk)\n\n## Getting started\n\nTo get started install the *Serilog.Sinks.Splunk* package:\n\n```powershell\nPM\u003e Install-Package Serilog.Sinks.Splunk\n```\n\nOR\n\n```bash\n$ dotnet add package Serilog.Sinks.Splunk\n```\n\nIf using the `TCP` or `UDP` sinks install the following packages\n\n* TCP: `Serilog.Sinks.Splunk.TCP`\n* UDP: `Serilog.Sinks.Splunk.UDP`\n\nTo start using the Splunk Event Collector (Splunk 6.3 and above), logging can be setup as follows.\n\n```csharp\nvar log = new LoggerConfiguration()\n    .WriteTo.EventCollector(\"https://mysplunk:8088/services/collector/event\", \"myeventcollectortoken\")\n    .CreateLogger();\n```\n\nIf using `appsettings.json` for configuration the following example illustrates using the Event Collector and Console sinks.\n\n```javascript\n{\n    \"Serilog\": {\n        \"Using\": [\"Serilog.Sinks.Console\", \"Serilog.Sinks.Splunk\"],\n        \"MinimumLevel\": \"Information\",\n        \"WriteTo\": [{\n                \"Name\": \"Console\"\n            },\n            {\n                \"Name\": \"EventCollector\",\n                \"Args\": {\n                    \"splunkHost\": \"http://splunk:8088\",\n                    \"uriPath\": \"services/collector/event\",\n                    \"eventCollectorToken\": \"00112233-4455-6677-8899-AABBCCDDEEFF\"\n                }\n            }\n        ],\n        \"Properties\": {\n            \"Application\": \"Serilog Splunk Console Sample\"\n        }\n    }\n}\n```\n\nMore information about Serilog is available on the [wiki](https://github.com/serilog/serilog-sinks-splunk/wiki).\n\n_Serilog is copyright \u0026copy; 2013-2024 Serilog Contributors - Provided under the [Apache License, Version 2.0](http://apache.org/licenses/LICENSE-2.0.html). Needle and thread logo a derivative of work by [Kenneth Appiah](http://www.kensets.com/)._\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserilog-contrib%2Fserilog-sinks-splunk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fserilog-contrib%2Fserilog-sinks-splunk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserilog-contrib%2Fserilog-sinks-splunk/lists"}