# Topbeats and Physical volume

**URL:** <https://discuss.elastic.co/t/topbeats-and-physical-volume/51731>\
**Category:** Beats\
**Created:** [June 2, 2016, 6:36pm UTC](https://discuss.elastic.co/t/topbeats-and-physical-volume/51731 "2016-06-02T18:36:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![daguero](https://avatars.discourse-cdn.com/v4/letter/d/b5e925/32.png) [@daguero](https://discuss.elastic.co/u/daguero)\
**Post date:** [June 2, 2016, 6:36pm UTC](https://discuss.elastic.co/t/topbeats-and-physical-volume/51731/1 "2016-06-02T18:36:52Z")

</div>

I have ELK with:

1. Elasticsearch 2.1
2. Logstash 2.3
3. Kibana 4.3

I have too a virtual machine with topbeats1.2.3 and many disk partitions. This agent is setting to send only Filesystem information (filesystem: true). But the problem is only have information about the logical volumen and I don't have information about the physical volumen. Any idea how I can solve this????/

---

<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:** [June 3, 2016, 7:12am UTC](https://discuss.elastic.co/t/topbeats-and-physical-volume/51731/2 "2016-06-03T07:12:13Z")

</div>

Does your virtual machine have in general access to this information? How do you gather this information manually?

---

<div class="post-metadata">

**Author:** ![daguero](https://avatars.discourse-cdn.com/v4/letter/d/b5e925/32.png) [@daguero](https://discuss.elastic.co/u/daguero)\
**Post date:** [June 3, 2016, 1:38pm UTC](https://discuss.elastic.co/t/topbeats-and-physical-volume/51731/3 "2016-06-03T13:38:59Z")

</div>

Yes my virtual machine have access to this information, manually run the following:

To logical volumen:  
lvdisplay

To physical volume:  
pvdisplay

The SO in the virtual machine is Centos6.5

---

<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:** [June 6, 2016, 12:38pm UTC](https://discuss.elastic.co/t/topbeats-and-physical-volume/51731/4 "2016-06-06T12:38:56Z")

</div>

This is currently not supported. What is the virtual environment you are using? I would recommend to run topbeat on the virutal machines and on the physcial machine.

---

<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:** [June 13, 2016, 9:44pm UTC](https://discuss.elastic.co/t/topbeats-and-physical-volume/51731/5 "2016-06-13T21:44:08Z")

</div>

To add a little more background to this thread, Topbeat reads from /etc/mtab to get a list of mounted filesystems. /etc/mtab is updated by mount automatically. The it uses [`statfs`](http://linux.die.net/man/2/statfs) to get filesystem stats from each mount point.

To get info about the physical volumes we would need something that knows how to interface with LVM to collect the info. This sounds like a module for Metricbeat. It could collect and report data from `vgs`, `pvs` and `lvs`.

---

<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 23, 2016, 6:37pm UTC](https://discuss.elastic.co/t/topbeats-and-physical-volume/51731/6 "2016-06-23T18:37:19Z")

</div>

This topic was automatically closed after 21 days. New replies are no longer allowed.
