/elasticsearch/{cluster}/kpi_node
Returns the metric values of specific nodes
GET http://unravel-host
:8081/api/v1/elasticsearch/{cluster}
/kpi_node?start_time={date}
&end_time={date}
&prefix={metrics}
&node={node}
Name | Type | Description |
---|---|---|
| string | Name of the cluster. |
Name | Type | Description |
---|---|---|
| string | cluster name |
| string | Start date for report. Format: YYYY-MM-DD |
| string | End date for report. Format: YYYY-MM-DD |
| string | Node name. |
| string | Any of the following metrics:
|
Name | Type | Description |
---|---|---|
Node name | string | Name of the node |
ts | - | Timestamp |
avg_vd | string | Value of the metrics in a specific timestamp. |
Request:
curl -X GET
"http://localhost:8081/api/v1/elasticsearch/elasticsearch/kpi_node?start_time=2020-01-01&end_time=2020-04-01&prefix=indices_segments_memory_in_bytes&node=es-node-1" -H "accept: application/json" -H "Authorization: token
"
Response:
{ "es-node-1": [ { "ts": 1585746000000, "avg_vd": 780607518 } ] }