@elastic/get-hot-threads
Get hot threads from nodes for debugging
RUN SKILL get_hot_threads()With parameters:
RUN SKILL get_hot_threads WITH node = 'value'| Name | Type | Default | Description |
|---|---|---|---|
| node | STRING | — | Node name or _all |
-- Using curl
curl -u elastic-admin:elastic-password http://localhost:9200/_escript \
-H "Content-Type: application/json" \
-d '{"query": "RUN SKILL get_hot_threads()"}'
-- Response
{
"result": [...],
"_meta": {
"execution_id": "abc123",
"duration_ms": 45
}
}