All Apps and Add-ons

Is there an official NLog target for Splunk?

geoff_hudik
Explorer

Is there an official NLog target for Splunk? That seems cleaner than having to use NLog with Trace and a trace listener to get to Splunk.

I found: https://github.com/HakanL/SplunkNLogTarget but (a) it's unofficial and (b) it appears to be for Splunk Storm which was discontinued?

0 Karma

kenross
New Member

Hi Geoff,

Instead of an "official" Splunk target you could use the NLog network target https://github.com/NLog/NLog/wiki/Network-target to write to a UDP port on your splunk server.

I've written a guide on using the log4net UDP adapter https://kzhendev.wordpress.com/2015/06/19/send-logs-to-splunk-with-log4net-udpappender/ which you could follow to setup NLog.

0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...