https://github.com/valeev/nlog.splunk
Custom target for pushing logs by NLog to Splunk
https://github.com/valeev/nlog.splunk
csharp nlog nlog-target nuget nuget-packages splunk
Last synced: 3 months ago
JSON representation
Custom target for pushing logs by NLog to Splunk
- Host: GitHub
- URL: https://github.com/valeev/nlog.splunk
- Owner: valeev
- License: mit
- Created: 2018-02-06T04:34:12.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-14T04:55:08.000Z (over 7 years ago)
- Last Synced: 2025-06-22T00:08:26.015Z (4 months ago)
- Topics: csharp, nlog, nlog-target, nuget, nuget-packages, splunk
- Language: C#
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
NLog.Splunk.Simple
===================NLog target for sending logs to splunk by /receivers/simple
[](https://www.nuget.org/packages/NLog.Splunk.Simple)
[]()----------
Getting Started
-------------Use the GUI or the following command in the Package Manager Console
Install-Package NLog.Splunk.Simple
Not necessary but sometimes you have to register custom target, try to register it in Global.asax with a next code
ConfigurationItemFactory.Default.Targets.RegisterDefinition("SplunkSimple", typeof(SplunkSimple));
----------
Configuration
-------------
Don't forget to add your rule
How to create custom target for NLog:
https://github.com/nlog/nlog/wiki/How-to-write-a-custom-target