Back to Floor
The Data Pipeline • Room 3

HTTP Event Collector (HEC)

HEC lets applications send data to Splunk over HTTP/HTTPS. It runs on port 8088 by default and uses token-based authentication — no Splunk credentials needed.

You create HEC tokens in Settings > Data Inputs > HTTP Event Collector. Each token can route data to a specific index and sourcetype.

HEC accepts JSON payloads or raw text. It is the preferred method for cloud applications, containers, and CI/CD pipelines to send data to Splunk.

Send data via HEC
curl -k https://splunk:8088/services/collector
  -H "Authorization: Splunk <token>"
  -d '{"event": "Hello from HEC!", "sourcetype": "manual"}'

Knowledge Check

Prove your understanding to clear the room (Rewards XP)
❤️❤️❤️
Question 1 of 2
What port does HEC use by default?
A8000
B8089
C8088
D9997