@elastic/service-health
Get health summary for a specific service
RUN SKILL service_health()With parameters:
RUN SKILL service_health WITH service = 'value', index_pattern = 'value'| Name | Type | Default | Description |
|---|---|---|---|
| service | STRING | — | Service name to check |
| index_pattern | STRING | — | Index pattern to search |
-- Using curl
curl -u elastic-admin:elastic-password http://localhost:9200/_escript \
-H "Content-Type: application/json" \
-d '{"query": "RUN SKILL service_health()"}'
-- Response
{
"result": [...],
"_meta": {
"execution_id": "abc123",
"duration_ms": 45
}
}