elasticsearch/elasticsearch — Issue #1597: Node Stats API: Add specific flags for stats, simplified REST paths
Author: kimchy
Created: 2012-01-09 16:01:12+00:00
State: open
Labels: breaking, enhancement, v0.19.0

Simplified paths for node stats include: `/_node/stats` and `/_node/{nodeIds}/stats`. Also, add specific flags to get only specific stats, by default, returning `indices` stats. The flags are: `indices`, `os`, `process`, `jvm`, `network`, `transport`, and `http`. `clear` can be used to clear all flags and then only apply the ones provided. For example: `_nodes/stats?clear=true&os=true&process=true`.

Specific REST paths are provided for each stats type, for example: `/_node/stats/process`, and `/_node/{nodeId}/stats/process`.

As usual, nodeId can be a list of node ids, or a list of IPs, hostnames, or attribute matching, all supporting wildcards.