Logstash Monitoring APIs - LogStash

What is Logstash Monitoring APIs?

Logstash offers APIs to monitor its ability. These monitoring APIs extract runtime metrics about Logstash.

Node Info API

This API is used to get the data about the nodes of Logstash. It yields the information of the OS, Logstash pipeline and JVM in JSON format.

You can extract the data by sending a get request to Logstash using the resulting URL −

Response

Resulting would be the response of the Node Info API.

You can also get the exact data of Pipeline, OS and JVM, by just adding their names in the URL.

Plugins Info API

This API is used to get the data about the installed plugins in the Logstash. You can recover this data by sending a get request to the URL mentioned below −

Response

Resulting would be the response of the Plugins Info API.

Node Stats API

This API is used to extract the data of the Logstash (Memory, Process, JVM, Pipeline) in JSON objects. You can recover this data by sending a get request to the URLS stated below −

Hot Threads API

This API recovers the data about the hot threads in Logstash. Hot threads are the java threads, which has high CPU usage and run longer than then usual implementation time. You can retrieve this information by sending a get request to the URL mentioned below −

A user can use the following URL to get the response in a form that is more readable.

All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

LogStash Topics