# How to monitor inodes using metricbeat?

**URL:** <https://discuss.elastic.co/t/how-to-monitor-inodes-using-metricbeat/263818>\
**Category:** Beats\
**Tags:** filebeat, metricbeat\
**Created:** [February 10, 2021, 12:44am UTC](https://discuss.elastic.co/t/how-to-monitor-inodes-using-metricbeat/263818 "2021-02-10T00:44:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![premierpsp](https://avatars.discourse-cdn.com/v4/letter/p/94ad74/32.png) [@premierpsp](https://discuss.elastic.co/u/premierpsp)\
**Post date:** [February 10, 2021, 12:44am UTC](https://discuss.elastic.co/t/how-to-monitor-inodes-using-metricbeat/263818/1 "2021-02-10T00:44:58Z")

</div>

Hi,  
is there any option to monitor linux inodes with metricbeat?

Thank you

---

<div class="post-metadata">

**Author:** ![goodmirek5849](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/goodmirek5849/32/39761_2.png) [@goodmirek5849](https://discuss.elastic.co/u/goodmirek5849)\
**Post date:** [February 21, 2021, 8:52pm UTC](https://discuss.elastic.co/t/how-to-monitor-inodes-using-metricbeat/263818/2 "2021-02-21T20:52:12Z")

</div>

What about this [1]?

> system.filesystem.free\_files  
> The number of free file nodes in the file system.

Looking at the code, it calls syscall STATFS, about which tutorialspoint [2] says:

> long f\_ffree; /\* total file nodes in file system \*/

In my understanding, on filesystems like EXT2/3/4 and XFS every file node consumes a single inode. And vice-versa, every inode represents a file node.

[1] [System fields | Metricbeat Reference [8.11] | Elastic](https://www.elastic.co/guide/en/beats/metricbeat/current/exported-fields-system.html)  
[2] [https://www.tutorialspoint.com/unix\_system\_calls/statfs.htm](https://www.tutorialspoint.com/unix_system_calls/statfs.htm)

---

<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:** [March 21, 2021, 10:52pm UTC](https://discuss.elastic.co/t/how-to-monitor-inodes-using-metricbeat/263818/3 "2021-03-21T22:52:46Z")

</div>

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