1. Splunk Enterprise Documentation
Getting Data In Manual: In the section "Format events for HTTP Event Collector
" the documentation explicitly states
"The HEC token must be sent in an Authorization HTTP header. The token type is Splunk." (Splunk Docs: Getting Data In
"Format events for HTTP Event Collector"
Section: "HEC request headers").
2. Splunk Enterprise Documentation
REST API Tutorials: The tutorial on sending data to HEC provides a cURL example that demonstrates the correct usage: curl -k "https://:/services/collector" -H "Authorization: Splunk " -d '{"event": "hello world"}'. This reinforces that the token is part of the HTTP header. (Splunk Docs: REST API Tutorials
"Send data to HTTP Event Collector on Splunk Enterprise or Splunk Cloud Platform").