# Collect directories & sub-directories/files data usage metrics

**URL:** <https://discuss.elastic.co/t/collect-directories-sub-directories-files-data-usage-metrics/248558>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [September 14, 2020, 4:08pm UTC](https://discuss.elastic.co/t/collect-directories-sub-directories-files-data-usage-metrics/248558 "2020-09-14T16:08:37Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![mtojek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mtojek/32/63863_2.png) [@mtojek](https://discuss.elastic.co/u/mtojek)\
**Post date:** [September 15, 2020, 6:56am UTC](https://discuss.elastic.co/t/collect-directories-sub-directories-files-data-usage-metrics/248558/2 "2020-09-15T06:56:11Z")

</div>

I think this is a similar thread: [How to Monitor particular process and file system disk space through metricbeat](https://discuss.elastic.co/t/how-to-monitor-particular-process-and-file-system-disk-space-through-metricbeat/105909)

Long story short we don't have any mechanism that can focus on a single directory. You have to configure it as a separate mount point.

You can always try with community beats (not support officialy). Here is the "lsbeat": [https://github.com/kimjmin/lsbeat](https://github.com/kimjmin/lsbeat)

---

_[View the full topic](https://discuss.elastic.co/t/collect-directories-sub-directories-files-data-usage-metrics/248558)._
