# Can I get a hardware specification with metricbeat?

**URL:** <https://discuss.elastic.co/t/can-i-get-a-hardware-specification-with-metricbeat/111055>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [December 11, 2017, 9:57am UTC](https://discuss.elastic.co/t/can-i-get-a-hardware-specification-with-metricbeat/111055 "2017-12-11T09:57:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![david\_k](https://avatars.discourse-cdn.com/v4/letter/d/edb3f5/32.png) [@david\_k](https://discuss.elastic.co/u/david_k)\
**Post date:** [December 11, 2017, 9:57am UTC](https://discuss.elastic.co/t/can-i-get-a-hardware-specification-with-metricbeat/111055/1 "2017-12-11T09:57:14Z")

</div>

Hi all.

Can I get a hardware specification with metricbeat?  
Or Can I calculate h/w specification with metricbeat system field?

Thanks

For example  
CPU - dual core 2.4 GHz  
RAM - 16 GB  
Hard Drive - 256 GB

---

<div class="post-metadata">

**Author:** ![kvch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kvch/32/72058_2.png) [@kvch](https://discuss.elastic.co/u/kvch)\
**Post date:** [December 11, 2017, 11:32am UTC](https://discuss.elastic.co/t/can-i-get-a-hardware-specification-with-metricbeat/111055/2 "2017-12-11T11:32:56Z")

</div>

Some of the information can be retrieved from the HW using metricbeat.

For example, number of CPU cores can be retrieved using the CPU metricset of system module in `cpu.cores`:  
[https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-metricset-system-cpu.html](https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-metricset-system-cpu.html)

RAM size can be retrieved using the memory metricset: [https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-metricset-system-filesystem.html](https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-metricset-system-filesystem.html)

Hard drive size can be retrieved by filesystems using the filesystem module: [https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-metricset-system-filesystem.html](https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-metricset-system-filesystem.html) This number is stored in `filesystem.total`. It might require aggregation of total sizes of filesystems depending on how your hard drive is partitioned.

System module of metricbeat retrieves the data of the host running it. It is worth looking at its metricsets as it provide system info.  
[https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-module-system.html](https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-module-system.html)

---

<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:** [January 8, 2018, 11:32am UTC](https://discuss.elastic.co/t/can-i-get-a-hardware-specification-with-metricbeat/111055/3 "2018-01-08T11:32:59Z")

</div>

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