-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
metricbeat: provide means to exclude non-user file systems for fsstat. #3226
Comments
@slalomnut Can you share some more details on why it was not possible to exclude these? |
I've tried both processors and filters but not excluding the fact my regex in the metricbeat.yml is incorrect.
The above returns a value of 34 for fsstat.count. If I test the processor and run df -a |egrep -v '^(cgroup|tmpfs|rootfs|devpts|pstore|configfs|debugfs|mqueue|hugetlbfs|nfsd|sunrpc|/etc/auto.home|binfmt_misc)' |wc -l on the same system, I get 13. |
Ok, got it. This a feature request to do some filtering on which file systems should be taken into account for the calculations in the
This would solve your problem, right? For the moment I would recommend you to use filesystem metricset, only send the file systems you need and do the calculations on the elasticsearch side. |
I think this has been implemented with #6819. There are a set of filesystem types that are filtered by default (all types marked as nodev in /proc/filesystems in Linux systems) and you can specify your own. |
Unable to exclude file systems (e.g. (cgroup|tmpfs|rootfs|devpts|pstore|configfs|debugfs|mqueue|hugetlbfs|nfsd|sunrpc|binfmt_misc) ) using filters or processors.
This makes it difficult, if not impossible, to track actual used and free disk space. A feature that would be very nice for infrastructure reporting.
The text was updated successfully, but these errors were encountered: