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

**URL:** <https://discuss.elastic.co/t/could-i-get-diskio-per-process-from-metricbeat-dashboard-for-kibana/134000>\
**Category:** Beats\
**Created:** [May 31, 2018, 8:30am UTC](https://discuss.elastic.co/t/could-i-get-diskio-per-process-from-metricbeat-dashboard-for-kibana/134000 "2018-05-31T08:30:09Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![alantany](https://avatars.discourse-cdn.com/v4/letter/a/ecd19e/32.png) [@alantany](https://discuss.elastic.co/u/alantany)\
**Post date:** [May 31, 2018, 8:30am UTC](https://discuss.elastic.co/t/could-i-get-diskio-per-process-from-metricbeat-dashboard-for-kibana/134000/1 "2018-05-31T08:30:09Z")

</div>

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](https://us1.discourse-cdn.com/elastic/original/3X/7/0/707e8ac3abf040ef36e52695421193a8e3418d5b.png)

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

---

<div class="post-metadata">

**Author:** ![exekias](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/exekias/32/28718_2.png) [@exekias](https://discuss.elastic.co/u/exekias)\
**Post date:** [May 31, 2018, 10:59am UTC](https://discuss.elastic.co/t/could-i-get-diskio-per-process-from-metricbeat-dashboard-for-kibana/134000/2 "2018-05-31T10:59:24Z")

</div>

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](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

---

<div class="post-metadata">

**Author:** ![alantany](https://avatars.discourse-cdn.com/v4/letter/a/ecd19e/32.png) [@alantany](https://discuss.elastic.co/u/alantany)\
**Post date:** [June 1, 2018, 1:17am UTC](https://discuss.elastic.co/t/could-i-get-diskio-per-process-from-metricbeat-dashboard-for-kibana/134000/3 "2018-06-01T01:17:17Z")

</div>

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 .

 ![%E4%BC%81%E4%B8%9A%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_20180601084520](https://us1.discourse-cdn.com/elastic/original/3X/4/c/4cb6c1735e336ed1034604c62487916c3fb9bedd.png)

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!

---

<div class="post-metadata">

**Author:** ![exekias](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/exekias/32/28718_2.png) [@exekias](https://discuss.elastic.co/u/exekias)\
**Post date:** [June 1, 2018, 5:59pm UTC](https://discuss.elastic.co/t/could-i-get-diskio-per-process-from-metricbeat-dashboard-for-kibana/134000/4 "2018-06-01T17:59:36Z")

</div>

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](https://linux.die.net/man/1/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

---

<div class="post-metadata">

**Author:** ![exekias](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/exekias/32/28718_2.png) [@exekias](https://discuss.elastic.co/u/exekias)\
**Post date:** [June 1, 2018, 6:04pm UTC](https://discuss.elastic.co/t/could-i-get-diskio-per-process-from-metricbeat-dashboard-for-kibana/134000/5 "2018-06-01T18:04:41Z")

</div>

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

You can link that on your issue, for awareness

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 29, 2018, 8:04pm UTC](https://discuss.elastic.co/t/could-i-get-diskio-per-process-from-metricbeat-dashboard-for-kibana/134000/6 "2018-06-29T20:04:43Z")

</div>

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