/logstash/nodes/list
Returns the list of nodes in the logstash.
Request
GET http://unravel-host
:3000/api/v1/logstash/nodes/list?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 | |
---|---|---|---|
array |
| ||
| string | Name of node. | |
| float | CPU usage for the Logstash process. | |
| bytes | JVM heap memory committed. | |
| bytes | Total JVM heap memory available. | |
| bytes | JVM heap memory used. | |
| ms | Time since JVM has been up and active. | |
| int | Number of filtered events. | |
| int | Number of events flowing into node/pipeline. | |
| int | Number of events flowing out of node/pipeline. | |
| int | Failed reloads. | |
| int | Successful reloads. | |
| string | Logstash version |
Examples
Request:
curl -X GET "http://node.mycompany.com:3000/api/v1/logstash/nodes/list?start_time=2020-01-01&end_time=2020-04-01" -H "accept: application/json" -H "Authorization: JWT JWT token
Response body:
[ { "name": "node.mycompany.com:9600", "cpu_percent": 0, "jvm_heap_commited_in_bytes": 1037959168, "jvm_heap_max_in_bytes": 1037959168, "jvm_heap_used_in_bytes": 490277104, "jvm_uptime_in_millis": 4363410100 "kpi_events_filtered": 0, "kpi_events_in": 0, "kpi_events_out": 0, "kpi_failure_reloads": 0, "kpi_success_reloads": 0, "version": "6.8.0" } ]