hec

Check HEC health

Reports whether the HEC endpoint is accepting data. Requires no authentication and returns HEC code 17 when healthy.

get/services/collector/health

Request

Response

The collector is healthy.

textstring required

A human-readable status message.

codeinteger required

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.

Example response

{
  "text": "Success"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.