Check Splunk HEC health

GET/services/collector/health

Report whether the collector is available and accepting data. No authentication is required. A healthy collector responds with HEC code 17.

Request #

curl -X GET 'https://hec.{axiom-domain}/services/collector/health' \
  -H 'Authorization: Bearer API_TOKEN'
Try itRun this request against your Axiom organization

Credentials stay in this browser tab and are only sent to Axiom when you run the request.

Response #

200The collector is healthy.
application/json
PropertyTypeDescription
textstringRequiredA human-readable status message.
codeintegerRequiredThe Splunk status code. 0 indicates success, 17 indicates a healthy collector, and 5, 6, and 7 indicate no data, invalid data format, and incorrect index respectively.