topbeat to monitor specific java process

710 views Asked by At

I am newbie to the beats. I am using topbeat to monitor the system health. Up to this point everything is fine.

Now I need to monitor the resource utilization of a java process, so I configured topbeat.yml as: procs: ["java"]

In my linux box there are 4 java processes are running but I am interested in only one java process. So,

  1. Is there any way to monitor specific java process using regex?
  2. Is there any way to differentiate the processes by name [not with pid]?
1

There are 1 answers

5
Mrunal Gosar On

If you wish to view certain processes then you can use sample topbeat dashboards and in that dashboard there is one search which is for proc stats. From there select proc.name from the available fields and further filter it to select your relevant proc.name Suggestion from elastic forum: https://discuss.elastic.co/t/topbeat-monitor-specific-java-process/65594/2 Try MetricBeat and see if it helps.