# How to collect performance data related to disk

**URL:** <https://discuss.elastic.co/t/how-to-collect-performance-data-related-to-disk/48615>\
**Category:** Beats\
**Created:** [April 28, 2016, 3:00am UTC](https://discuss.elastic.co/t/how-to-collect-performance-data-related-to-disk/48615 "2016-04-28T03:00:37Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![tuankun](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tuankun/32/8590_2.png) [@tuankun](https://discuss.elastic.co/u/tuankun)\
**Post date:** [April 28, 2016, 3:00am UTC](https://discuss.elastic.co/t/how-to-collect-performance-data-related-to-disk/48615/1 "2016-04-28T03:00:37Z")

</div>

Hi,  
I want to collect performance data related to disk into ELK,especially physical disk read/write,IOPs,Does anybody know which software or beat could work?  
thanks so much.

---

<div class="post-metadata">

**Author:** ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)\
**Post date:** [April 28, 2016, 1:02pm UTC](https://discuss.elastic.co/t/how-to-collect-performance-data-related-to-disk/48615/2 "2016-04-28T13:02:51Z")

</div>

I assume that is what you are looking for: [https://github.com/elastic/beats/issues/422](https://github.com/elastic/beats/issues/422)

---

<div class="post-metadata">

**Author:** ![tuankun](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tuankun/32/8590_2.png) [@tuankun](https://discuss.elastic.co/u/tuankun)\
**Post date:** [May 6, 2016, 12:27am UTC](https://discuss.elastic.co/t/how-to-collect-performance-data-related-to-disk/48615/3 "2016-05-06T00:27:31Z")

</div>

I found a tools called collectl,which could collect a lot of performance counter,and work with filebeat to ELK.  
but still a little bit inconvenient, expect that elastic would release a beat that could transfer to ELK directly.😌

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [May 6, 2016, 1:35am UTC](https://discuss.elastic.co/t/how-to-collect-performance-data-related-to-disk/48615/4 "2016-05-06T01:35:02Z")

</div>

@tuankun, Disk IO stats will go into Metricbeat. Here's a sample of what I'm thinking at the moment. I'm interested to know if these are all the fields that you need or is there something missing.

```auto

{
  "@timestamp": "2016-05-03T03:46:35.437Z",
  "beat": {
    "hostname": "b2bf7b803e9d",
    "name": "b2bf7b803e9d"
  },
  "metricset": "disk_io",
  "module": "system",
  "rtt": 38634,
  "system-disk_io": {
    "io_time": 2850,
    "name": "sda2",
    "read_bytes": 9211904,
    "read_count": 1639,
    "read_time": 1770,
    "write_bytes": 401596416,
    "write_count": 919,
    "write_time": 36900
  },
  "type": "metricsets"
}

```

---

<div class="post-metadata">

**Author:** ![tuankun](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tuankun/32/8590_2.png) [@tuankun](https://discuss.elastic.co/u/tuankun)\
**Post date:** [May 10, 2016, 1:53am UTC](https://discuss.elastic.co/t/how-to-collect-performance-data-related-to-disk/48615/5 "2016-05-10T01:53:30Z")

</div>

@andrewkroh  
Sorry,too late to reply you.  
the above metrics are all I need.  
In our production env,we pay more attention to the following performance metrics:

1.CPU overall:

- CPU run queue
- load average
- CPU utilization
- CPU user utilization
- CPU system utilization  
(Total CPU utilization = CPU user utilization + CPU system utilization)

2.Memory overall:

- Memory Utilization
- swap utilization
- swap in
- swap out

[3.by](http://3.by) process:

- CPU utilization
- memory utilization

4.each pyscial disk and overall:

- Disk utilization
- phyiscal disk read request/second
- phyiscal disk write request/second
- total IO/s  
(total IO/s = phyiscal disk read request/second + phyiscal disk write request/second)

5.each Network interface :

- KB in
- KB out
- network utilization.

English is not my native language,hope you could get the meaning.😁  
if any doubt, let me know.

really appreciate you!~

---

<div class="post-metadata">

**Author:** ![tuankun](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tuankun/32/8590_2.png) [@tuankun](https://discuss.elastic.co/u/tuankun)\
**Post date:** [May 10, 2016, 1:59am UTC](https://discuss.elastic.co/t/how-to-collect-performance-data-related-to-disk/48615/6 "2016-05-10T01:59:51Z")

</div>

if the tool you've been developing could collect above performnace metrics on windows 2003/2008/2012 and linux,that would be perfect!~:grin:

---

<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:** [July 5, 2017, 9:52pm UTC](https://discuss.elastic.co/t/how-to-collect-performance-data-related-to-disk/48615/7 "2017-07-05T21:52:10Z")

</div>


