serilog-contrib / serilog-sinks-splunk

A Serilog sink that writes to Splunk
https://splunk.com
Apache License 2.0
46 stars 47 forks source link

Support needed for X-Splunk-Request-Channel header #125

Closed draxtor closed 4 years ago

draxtor commented 4 years ago

Hello, when indexer acknowledgment is used your sink is not working.

Error displayed is "Data channel is missing." Behavior is explained here: https://docs.splunk.com/Documentation/Splunk/8.0.4/Data/AboutHECIDXAck

It is a small change in your EventCollectorClient class (header called X-Splunk-Request-Channel should be added). I already did it but I'm forbidden to push to your repo. I can post code here as text if needed .