Check Splunk HEC 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.| Property | Type | Description |
|---|---|---|
text | stringRequired | A human-readable status message. |
code | integerRequired | The 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. |