Home

/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

start_time

string

Start date for report.

Format: YYYY-MM-DD

end_time

string

End date for report.

Format: YYYY-MM-DD

Response body

Name

Type

Description

array

 

name

string

Name of node.

cpu_percent

float

CPU usage for the Logstash process.

jvm_heap_commited_in_bytes

bytes

JVM heap memory committed.

jvm_heap_max_in_bytes

bytes

Total JVM heap memory available.

jvm_heap_used_in_bytes

bytes

JVM heap memory used.

jvm_uptime_in_millis

ms

Time since JVM has been up and active.

kpi_events_filtered

int

Number of filtered events.

kpi_events_in

int

Number of events flowing into node/pipeline.

kpi_events_out

int

Number of events flowing out of node/pipeline.

kpi_failure_reloads

int

Failed reloads.

kpi_success_reloads

int

Successful reloads.

version

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"  
}
]