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?
... View more