👁️

Get Slo Status

Verified

@elastic/get-slo-status

Get SLO (Service Level Objective) status for a service

Usage

RUN SKILL get_slo_status()

With parameters:

RUN SKILL get_slo_status WITH service = 'value'

Parameters

NameTypeDefaultDescription
serviceSTRINGService name

Returns

DOCUMENT— A single document object

Example

-- 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
  }
}