The /_node/_local/* surface exposes this node’s runtime state —
recovery progress, build backlog, shard inventory, storage layout,
slowlogs, logs and the trash. All of it is read-only except where noted,
and every endpoint can be reached on a remote node through the
unified forward: replace _local with the node id
(/_node/<node_id>/...) — the console’s node pages are
built on this.
Runtime knobs live on the sibling
Node Settings page.
This node’s identity, roles and reported addresses.
GET /_node/_local/stats (aliases /_nodes/stats, /_nodes/_local/stats)
Node-level counters.
GET /_node/_local/recovery
Shard recovery progress — restart WAL replay and peer pulls, including the queue behind node.recovery_concurrency. The cluster health timeout response points here.
GET /_node/_local/ready
Readiness probe — answers once startup gates have passed.
GET /_node/_local/tasks
The unified task view — the single task surface: every maintenance lane (flush, epoch build, recovery, compaction), the batch job registries (flush_jobs[], compaction_jobs[]), the per-shard maintenance tables (build_tasks[], compaction_tasks[]) and engine task-loop health. POST /_node/_local/tasks/flush/<job_id>/cancel cancels a flush job, POST /_node/_local/tasks/compact/<job_id>/cancel a compaction job.
Every shard copy this node holds, with state, role, and per-shard counters — including reshard_purged (documents purged as superseded by a committed reshard).
Deleted namespaces and collections (and replaced shards) are moved into
<data>/trash/ and purged after trash.retention_secs (default 1 day)
— see
Backup and restore. These node-local APIs
manage that window for THIS node; the cluster-wide, namespace-centric
view lives under the
Trash APIs
(GET /_cluster/trash aggregates every node server-side):
Endpoint
Effect
GET /_node/_local/trash
List trashed items with age, size and snapshot summary (kind/namespace/restorable).
GET /_node/_local/trash/<item>/verify
Read-only shard-completeness check of this node’s copy (?deep=true also parses every segment file’s footer).
POST /_node/_local/trash/<item>/restore
Restore a trashed collection — or a whole deleted namespace — cluster-coordinated, gated by the verification above.