<div dir="ltr"><div>hi,</div><div><br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>I am trying to send Metrics to Splunk using the HTTP Event Collector.</div><div>Splunk HEC requires setting the Authorization header like this example:</div><div><br></div><div>Authorization: Splunk fc0fcc92-47f8-4da7-9272-c04619122302</div><div><br></div><div>I see an example in the docs about how you would set user/pass by overriding HttpClientSecurityParameters, but now how you would arbitrarily set the Authorization header to a somewhat non-standard value like this. I cannot find how one would arbitrarily configure the IDP to send a custom header.</div><div><br></div><div>I have also taken stabs at creating a custom HttpClient bean, without success.</div><div>If someone has set this up and could help me out with the XML needed to create the HttpClient bean that then gets passed into the HTTPReporter in metrics.xml, I'd sure appreciate it.</div></div></blockquote><div><br></div><div>there were a couple of sessions at last years TechEx (Minnesota) where people were presenting throwing their metrics into Splunk et al (there was Splunk, Prometheus, Grafana and usual ELK) - I'd suggest having a look at the presentations/slides and see how they were achieving their outcomes  (as I can't recall from the top of my head any of the config snippets they showed :) )</div><div><br></div><div>regards</div><div><br></div><div>alan</div></div></div>