I have set of java applications running on my unix server.
I want to monitor the heath , state (live, or dead) , memory consumption, cpu on a dashboard. How to pass the java processing running on my unix server to logstash config input ?
Can you please help with sample.
I have only tried :
input {
file {
path => "path to .log"
}
}
Hi Have you perhaps considered looking at the Elastic APM Capabilities Especially with the Java Agent Metrics can be reported via the Java Agent AND you would also be able to observe performance of your Java Application As Well.
And / Or if you really want to focus on Host Metrics and observe Metrics for Certain Process running on that host you could use Metricbeat and filter on java processes (or more)
Finally if you are not interested in any of that you could look at the logstash JMX plugin, however I think the 2 solutions above maybe easier / more complete.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.