# Documentation Error for Metricbeat system.diskio.iostat.request.avg\_size

**URL:** <https://discuss.elastic.co/t/documentation-error-for-metricbeat-system-diskio-iostat-request-avg-size/204945>\
**Category:** Beats\
**Created:** [October 23, 2019, 7:04pm UTC](https://discuss.elastic.co/t/documentation-error-for-metricbeat-system-diskio-iostat-request-avg-size/204945 "2019-10-23T19:04:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dnwobu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dnwobu/32/43517_2.png) [@dnwobu](https://discuss.elastic.co/u/dnwobu)\
**Post date:** [October 23, 2019, 7:04pm UTC](https://discuss.elastic.co/t/documentation-error-for-metricbeat-system-diskio-iostat-request-avg-size/204945/1 "2019-10-23T19:04:04Z")

</div>

The value calculated in [https://github.com/elastic/beats/blob/master/metricbeat/module/system/diskio/diskstat\_linux\_test.go](https://github.com/elastic/beats/blob/master/metricbeat/module/system/diskio/diskstat_linux_test.go) line 88 does not align with the documentation:

[https://www.elastic.co/guide/en/beats/metricbeat/current/exported-fields-system.html](https://www.elastic.co/guide/en/beats/metricbeat/current/exported-fields-system.html)  
system.diskio.iostat.request.avg\_size  
The average size (in sectors) of the requests that were issued to the device.  
type: float

Diskio metricset calculates bytes and does not simply pull the sectors value from iostat. The documentation needs to be updated to say bytes instead of sectors.

I accidentally created a github issue before posting here: [https://github.com/elastic/beats/issues/14204](https://github.com/elastic/beats/issues/14204)

---

<div class="post-metadata">

**Author:** ![pmercado](https://avatars.discourse-cdn.com/v4/letter/p/59ef9b/32.png) [@pmercado](https://discuss.elastic.co/u/pmercado)\
**Post date:** [October 24, 2019, 7:47am UTC](https://discuss.elastic.co/t/documentation-error-for-metricbeat-system-diskio-iostat-request-avg-size/204945/2 "2019-10-24T07:47:43Z")

</div>

@dnwobu,

thanks, will continue at the thread

---

<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:** [November 21, 2019, 9:47am UTC](https://discuss.elastic.co/t/documentation-error-for-metricbeat-system-diskio-iostat-request-avg-size/204945/3 "2019-11-21T09:47:51Z")

</div>

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