Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

Is it possible to add HttpEventCollectorTraceListener in .NET config file?

$
0
0
I am going off the question here: https://answers.splunk.com/answers/312914/httpeventcollectortracelistener-doesnt-flush.html The user is adding his listener programmatically in code, e.g: var listener = new HttpEventCollectorTraceListener( new Uri(ConfigurationManager.AppSettings["SplunkUrl"], UriKind.Absolute), ConfigurationManager.AppSettings["AppToken"]); What I really want is to be able to add a listener in the config file attached to the binary -- could you light the way? Or is it not possible?

Viewing all articles
Browse latest Browse all 47296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>