@elastic/get-slo-status
Get SLO (Service Level Objective) status for a service
RUN SKILL get_slo_status()With parameters:
RUN SKILL get_slo_status WITH service = 'value'| Name | Type | Default | Description |
|---|---|---|---|
| service | STRING | — | Service name |
-- Using curl
curl -u elastic-admin:elastic-password http://localhost:9200/_escript \
-H "Content-Type: application/json" \
-d '{"query": "RUN SKILL get_slo_status()"}'
-- Response
{
"result": [...],
"_meta": {
"execution_id": "abc123",
"duration_ms": 45
}
}