/kibana/clusters/metrics
Returns Kibana KPI metrics.
Request
GET http://unravel-host
:3000/api/v1/kibana/clusters/metrics?start_time=(date}
&end_time={date}
Path parameters
None.
Query parameters
Name | Type | Description |
---|---|---|
| string | Start date for report. Format: YYYY-MM-DD |
| string | End date for report. Format: YYYY-MM-DD |
Response body
Name | Type | Description | |
---|---|---|---|
kibana |
|
| |
| ms | Time period between data sampling for metrics. | |
| int | Total number of concurrent connections to Kibana instance. | |
| string | Date and time the metrics were last updated. Format: YYYY-MM-DD'T'HH:mm:ss.SSS'Z'" | |
| string | Load average over 15 minutes | |
| string | Load average over 1 minutes | |
| bytes | Available heap memory. | |
| bytes | Total heap memory. | |
| bytes | Used heap memory. | |
| ms | OS uptime in milliseconds. | |
| bytes | Limit of memory usage before garbage collection. | |
| bytes | Total heap memory available for Kibana instance. | |
| bytes | Total heap memory used by Kibana instance. | |
| ms | Process uptime in milliseconds. | |
| int | Number of disconnected client requests. | |
| int | Total number of client requests received by Kibana instance. | |
| int | Maximum time taken to respond to client requests received by the Kibana instance. | |
| string | Name of the Kibana instance. | |
| string | Overall Kibana status since the specified time. Format: YYYY-MM-DD'T'HH:mm:ss.SSS'Z'" | |
| string | Overall status of the Kibana instance. | |
| string | Title of the Kibana status. | |
| bytes/sec | Total heap used per metric collection interval. |
Examples
Request:
curl -X GET "http://node.mycompany.com:3000/api/v1/kibana/clusters/metrics?start_time=2020-01-01&end_time=2020-04-01" -H "accept: application/json" -H "Authorization: JWT JWT token
Response body:
{ "kibana": { "metrics_collection_interval_in_millis": 5000, "metrics_concurrent_connections": 2, "metrics_last_updated": "2020-04-03T10:10:23.822Z", "metrics_os_load_15m": "-", "metrics_os_load_1m": "-", "metrics_os_memory_free_in_bytes": 1028771840, "metrics_os_memory_total_in_bytes": "-", "metrics_os_memory_used_in_bytes": "-", "metrics_os_uptime_in_millis": "-", "metrics_process_memory_heap_size_limit": 1526909922, "metrics_process_memory_heap_total_in_bytes": 196923392, "metrics_process_memory_heap_used_in_bytes": 152856592, "metrics_process_uptime_in_millis": 1123753, "metrics_requests_disconnects": 0, "metrics_requests_total": 0, "metrics_response_times_max_in_millis": 0, "name": "node.mycompany.com", "status_overall_since": "2020-04-03T09:52:42.188Z", "status_overall_state": "green", "status_overall_title": "Green", "heap_rate": "-" } }