Metricbeat 7.17.1 error getting filesystem list: open /etc/mtab

Hi we have recently upgraded from 7.9.3 to 7.17.1. We now get this error in the Metricbeat logs

2022-03-24T19:02:27.030Z        ERROR   module/wrapper.go:259   Error fetching data for metricset system.filesystem: error getting filesystem list: open /etc/mtab: no such file or directory

Our /etc/mtab is a sym link

ll /etc/mtab
lrwxrwxrwx. 1 root root 17 Jan 31 15:24 /etc/mtab -> /proc/self/mounts

Anyone knows how to fix this? I have already tried using filesystem.ignore_types: [] and it removed these logs but still getting the /etc/mtab error

2022-03-24T18:23:25.615Z        INFO    filesystem/filesystem.go:58     Ignoring filesystem types: sysfs, tmpfs, bdev, proc, cgroup, cgroup2, cpuset, devtmpfs, configfs, debugfs, tracefs, securityfs, sockfs, bpf, pipefs, ramfs, hugetlbfs, devpts, autofs, mqueue, pstore, rpc_pipefs, overlay, nfsd, binfmt_misc
2022-03-24T18:23:25.704Z        INFO    filesystem/filesystem.go:58     Ignoring filesystem types: sysfs, tmpfs, bdev, proc, cgroup, cgroup2, cpuset, devtmpfs, configfs, debugfs, tracefs, securityfs, sockfs, bpf, pipefs, ramfs, hugetlbfs, devpts, autofs, mqueue, pstore, rpc_pipefs, overlay, nfsd, binfmt_misc

We also see this error in the Kibana Discovery panel.

Thank you,
Kris

After more investigation this appears to be an upstream issue.

Anyone can suggest a work around?

/etc/mtab is not linked in 7.17.1
ls -rtl /etc/mtab
ls: cannot access '/etc/mtab': No such file or directory

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