@elastic/get-node-stats
Get detailed statistics for a specific node
RUN SKILL get_node_stats()With parameters:
RUN SKILL get_node_stats WITH node_name = 'value'| Name | Type | Default | Description |
|---|---|---|---|
| node_name | STRING | — | Node name to get stats for |
-- Using curl
curl -u elastic-admin:elastic-password http://localhost:9200/_escript \
-H "Content-Type: application/json" \
-d '{"query": "RUN SKILL get_node_stats()"}'
-- Response
{
"result": [...],
"_meta": {
"execution_id": "abc123",
"duration_ms": 45
}
}