Get the Elasticsearch query for a rule
- Base URL
-
https://{kibana_url}
- GET /api/alerting/rule/{id}/query_inspector
- GET /s/{space_id}/api/alerting/rule/{id}/query_inspector
https://{kibana_url}
Returns the Elasticsearch query that a rule executes, and optionally its response.
space_id
string
optional
An identifier for the space. If space_id is not provided in the URL, the default space is used. Refer to Spaces for more information.
Indicates a successful call.
Indicates the rule type is not supported or the request parameters are invalid.
Indicates a rule with the specified rule ID does not exist.
https://{kibana_url}