# How to configure Metricbeat to collect filesystem data for NFS mount?

**URL:** <https://discuss.elastic.co/t/how-to-configure-metricbeat-to-collect-filesystem-data-for-nfs-mount/137521>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [June 26, 2018, 11:50pm UTC](https://discuss.elastic.co/t/how-to-configure-metricbeat-to-collect-filesystem-data-for-nfs-mount/137521 "2018-06-26T23:50:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rick\_Liu](https://avatars.discourse-cdn.com/v4/letter/r/3be4f8/32.png) [@Rick\_Liu](https://discuss.elastic.co/u/Rick_Liu)\
**Post date:** [June 26, 2018, 11:50pm UTC](https://discuss.elastic.co/t/how-to-configure-metricbeat-to-collect-filesystem-data-for-nfs-mount/137521/1 "2018-06-26T23:50:01Z")

</div>

OS: Ubutnu 14.04.5  
Version: Metricbeat 6.3.0

After starting Metricbeat at one of the node with NFS mount point,  
the data post to elasticsearch contains only the devices of  
"/dev/mapper/ubuntu--vg-root" (mount point: /) and "/dev/sda1" (mount point: /boot),

and it's missing 2 NFS mount points (comparing against 'df -h' output):  
\> Filesystem Size Used Avail Use% Mounted on  
\> udev 3.9G 4.0K 3.9G 1% /dev  
\> tmpfs 799M 2.0M 797M 1% /run  
\> /dev/dm-0 91G 24G 63G 28% /  
\> none 4.0K 0 4.0K 0% /sys/fs/cgroup  
\> none 5.0M 0 5.0M 0% /run/lock  
\> none 3.9G 0 3.9G 0% /run/shm  
\> none 100M 0 100M 0% /run/user  
\> /dev/sda1 236M 78M 146M 35% /boot  
\> 172.16.100.87:/home 25T 19T 6.4T 75% /home/images  
\> 172.16.100.87:/home/tests 39T 35T 4.7T 89% /home/images/tests

> June 26th 2018, 16:37:01.370 metricset.name:filesystem host.name:tftp-server @timestamp:June 26th 2018, 16:37:01.370 metricset.rtt:107 metricset.module:system system.filesystem.total:235.324MB system.filesystem.device\_name:/dev/sda1 system.filesystem.free:157.798MB system.filesystem.files:62,248 system.filesystem.type:ext2 system.filesystem.free\_files:61,943 system.filesystem.used.pct:34.74% system.filesystem.used.bytes:77.526MB system.filesystem.mount\_point:/boot system.filesystem.available:145.648MB beat.version:6.3.0 beat.name:tftp-server beat.hostname:tftp-server \_id:s8Z1PmQBjNpagE0KbNT0 \_type:doc \_index:metricbeat-6.3.0-2018.06.26 \_score: -  
> June 26th 2018, 16:37:01.370 metricset.name:filesystem host.name:tftp-server @timestamp:June 26th 2018, 16:37:01.370 metricset.module:system metricset.rtt:102 system.filesystem.free\_files:5,907,667 system.filesystem.device\_name:/dev/mapper/ubuntu--vg-root system.filesystem.available:62.155GB system.filesystem.used.pct:27.37% system.filesystem.used.bytes:23.42GB system.filesystem.type:ext4 system.filesystem.total:90.178GB system.filesystem.free:66.757GB system.filesystem.mount\_point:/ system.filesystem.files:6,012,928 beat.name:tftp-server beat.hostname:tftp-server beat.version:6.3.0 \_id:ssZ1PmQBjNpagE0KbNT0 \_type:doc \_index:metricbeat-6.3.0-2018.06.26 \_score: -

---

<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:** [June 27, 2018, 9:06am UTC](https://discuss.elastic.co/t/how-to-configure-metricbeat-to-collect-filesystem-data-for-nfs-mount/137521/2 "2018-06-27T09:06:09Z")

</div>

Could you please share your config and debug logs of Metricbeat (`./metricbeat -e -d "*"`) formatted using `</>`?

---

<div class="post-metadata">

**Author:** ![Rick\_Liu](https://avatars.discourse-cdn.com/v4/letter/r/3be4f8/32.png) [@Rick\_Liu](https://discuss.elastic.co/u/Rick_Liu)\
**Post date:** [June 27, 2018, 5:15pm UTC](https://discuss.elastic.co/t/how-to-configure-metricbeat-to-collect-filesystem-data-for-nfs-mount/137521/3 "2018-06-27T17:15:27Z")

</div>

Please download the tarball from this google drive link:  
[https://drive.google.com/open?id=11iwj4DJmmPLiWNGrOrQRm7P7g\_PCWaH-](https://drive.google.com/open?id=11iwj4DJmmPLiWNGrOrQRm7P7g_PCWaH-)

metricbeat\_debug.log is the debug log  
metricbeat folder is copied from /etc/metricbeat on Ubuntu 14.04

---

<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 25, 2018, 5:15pm UTC](https://discuss.elastic.co/t/how-to-configure-metricbeat-to-collect-filesystem-data-for-nfs-mount/137521/4 "2018-07-25T17:15:40Z")

</div>

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