Monitor memory of different java process on same via cmdline

i am looking for a way to separate javaprocess memory usage via commandline string and currently by default it shows total of all java process. Is there a way to do this via metricbeat?

Metricbeat's system process metricset generates one event per process. So if there are two instances of the JVM running you will get two separate events with different system.process.pid values. Hopefully in your case you have a way of identifying what the two applications are that are each using the JVM (like by the command line args, the user, the CWD, the environment vars, etc).

Metricbeat does not do any aggregation between process metrics that it sends. Perhaps you are looking at some kind of aggregated view in Kibana? Take a look in the Kibana Discover tab at the raw data and see if you have metrics from each JVM process.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.