Could I get DISKIO per PROCESS from metricbeat dashboard for kibana?

Hello,
Recently I tried the metricbeat,found it very nice,it provides a sample dashboards for kibada,so we can easily build up a dashboard for SYSTEM,but there is a pity that i can't find a table about DISKIO for per PROCESS,for example,I want to find which process cause a heavy DISKIO,but i can not get it from the dashbord.
%E4%BC%81%E4%B8%9A%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_20180531163149

We can see from pic about ,dashbord have Top Processes By CPU and Top Processes By Memory,but no Top Processes By IO.
Cound someone tell me how to get the information abort IO for per PROCESS?

I use 6.2.4 metricbeat and 6.2.4 ES and kibana

Thanks!

Alan

1 Like

Hi @alantany,

You can retrieve IO per process from system.process.cgroup.blkio... metrics, check https://www.elastic.co/guide/en/beats/metricbeat/6.2/metricbeat-metricset-system-process.html to see how to enable and the expected output.

Best regards

Hi,@exekias
I had noticed the system.process.cgroup.blkio metric,but there have no information collected for it,there is no value for it in the ES .

I think it's set to true by default,I didn't changed it.

here is my metircbeat.yml:

metricbeat.config.modules:
reload.enabled: true
reload.period: 10s

metricbeat.modules:

  • module: system
    metricsets:
    • cpu # CPU usage
    • filesystem # File system usage for each mountpoint
    • fsstat # File system summary metrics
    • memory # Memory usage
    • load # CPU load averages
    • network # Network IO
    • process # Per process metrics
    • process_summary # Process summary
      #- core # Per CPU core usage
    • diskio # Disk IO
    • socket # Sockets and connection info (linux only)
      enabled: true
      period: 20s
      processes: ['.*']

process.cgroups.enabled: true

setup.kibana:
host: "xxx.xxx.x.x:5601"

output.elasticsearch:
enabled: true
hosts: ["xxx.xxx.x.x:9200"]
#index: "metricbeat-%{[beat.version]}-%{+yyyy.MM.dd}"

my server is
Linux version 3.8.13-68.3.4.el6uek.x86_64 (mockbuild@x86-ol6-builder-06) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC) ) #2 SMP Tue Jul 14 15:03:36 PDT 2015

Thank you very much!

Hi again,

Sorry, I've been researching this more, and it seems we only support these metrics for processes running on cgroups (you could potentially use cgexec to run them, but that's not what you are looking for).

I saw you opened a new issue in Github, could you please add more details there? This way we can track interest and allow you (and others) to suscribe for updates.

Best regards

Also, I see there are some previous efforts here: https://github.com/elastic/beats/pull/4242/

You can link that on your issue, for awareness

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