Get health status
- Base URL
-
/
- GET /_health_report
The health API returns a report with the health status of Logstash and the pipelines that are running inside of it. The report contains a list of indicators that compose Logstash functionality.
Each indicator has a health status of: green, unknown, yellow, or red. The indicator provides an explanation and metadata describing the reason for its current health status.
The top-level status is controlled by the worst indicator status.
In the event that an indicator status is non-green, a list of impacts may be present in the indicator result which detail the functionalities that are negatively affected by the health issue. Each impact carries with it a severity level, an area of the system that is affected, and a simple description of the impact on the system.
Some health indicators can determine the root cause of a health problem and prescribe a set of steps that can be performed in order to improve the health of the system. The root cause and remediation steps are encapsulated in a diagnosis. A diagnosis contains a cause detailing a root cause analysis, an action containing a brief description of the steps to take to fix the problem, and the URL for detailed troubleshooting help.
The health indicators perform root cause analysis of non-green health statuses. This can be computationally expensive when called frequently.
Response
Indicates a successful call
-
http_addressstring -
The HTTP address where the Logstash instance is accessible, including the port number.
-
status -
Health status of Logstash, based on the aggregated status of all indicators. Statuses are:
green: Logstash is healthy.unknown: Logstash health could not be determined.yellow: The functionality of Logstash is in a degraded state and may need remediation to avoid the health becoming red.red: Logstash is experiencing an outage or certain features are unavailable for use.
-
Values:
greenredunknownyellow -
timestampstring · format: date-time -
The time at which this health report was generated, in ISO 8601 format with millisecond precision.
-
indicatorsobject -
Information about the health of Logstash indicators.
-
pipelinesobject -
status -
Health status of Logstash, based on the aggregated status of all indicators. Statuses are:
green: Logstash is healthy.unknown: Logstash health could not be determined.yellow: The functionality of Logstash is in a degraded state and may need remediation to avoid the health becoming red.red: Logstash is experiencing an outage or certain features are unavailable for use.
-
Values:
greenredunknownyellow -
indicatorsmap string to object -
<string>object -
status -
Health status of Logstash, based on the aggregated status of all indicators. Statuses are:
green: Logstash is healthy.unknown: Logstash health could not be determined.yellow: The functionality of Logstash is in a degraded state and may need remediation to avoid the health becoming red.red: Logstash is experiencing an outage or certain features are unavailable for use.
-
Values:
greenredunknownyellow -
detailsobject -
An object that contains additional information about the indicator that has led to the current health status result.
-
impactsobject -
If a non-healthy status is returned, indicators may include a list of impacts that this health status will have on Logstash.
-
diagnosisobject