Home

/kibana/{cluster}/kpi_cluster

Returns cluster level metric values of Kibana.

Request
GET http://unravel-host:3000/api/v1/kibana/{cluster}/kpi_cluster?start_time={date}&end_time={date}&prefix={metrics} 
Path parameters

Name

Type

Description

cluster

string

Cluster name.

Query parameters

Name

Type

Description

start_time

string

Start date for report.

Format: YYYY-MM-DD

end_time

string

End date for report.

Format: YYYY-MM-DD

prefix

CSL

Add any of the following metrics:

metrics_process_memory_heap_used_in_bytes

metrics_requests_total

metrics_requests_disconnects

metrics_concurrent_connections

Response body

Name

Type

Description

kibana

array

 

ts

int

Time (epoch time stamp).

avg_vd

int

Value of the metric in the given timestamp.

Example

Request:

curl -X GET "http://localhost:8081/api/v1/kibana/kibana/kpi_cluster?start_time=2020-01-01&end_time=2020-04-04&prefix=metrics_process_memory_heap_used_in_bytes" -H  "accept: application/json" -H  "Authorization: JWT  token

Response:

{
  "kibana": [
    {
      "ts": 1585904400000,
      "avg_vd": 158250770
    },
    {
     "ts": 1585908000000,
     "avg_vd": 159986282.52631578
    }
  ]