Skip to content
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

List all known mountpoints in filesystem events #12497

Closed
jsoriano opened this issue Jun 11, 2019 · 6 comments
Closed

List all known mountpoints in filesystem events #12497

jsoriano opened this issue Jun 11, 2019 · 6 comments
Labels

Comments

@jsoriano
Copy link
Member

After #6819, the filesystem metricset collects one event per mounted filesystem. If the filesystem is mounted several times only one event is generated per filesystem. This is intended to avoid data duplication as this metricset is intended to report metrics of filesystems. The mount point reported is the shortest one. The problem with this approach is that there are mount points that are not reported.

Something we could do to avoid this is to report all the known mountpoints instead of only the shortest one, this could be done by generating the event with a list of mountpoints instead of a single value, this wouldn't be breaking as the type of the field would still be keyword.

For example a resulting event would have fields like this:

    "system": {
        "filesystem": {
            ...
            "device_name": "/dev/dm-1",
            "mount_point": ["/var/log", "/etc/hosts"]
            "type": "xfs",
            ...
            }
        }
    }
@botelastic
Copy link

botelastic bot commented Jul 8, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@botelastic botelastic bot added the Stalled label Jul 8, 2020
@jsoriano jsoriano removed the Stalled label Jul 8, 2020
@qqqasdwx
Copy link

qqqasdwx commented Jul 9, 2020

Has this problem been solved?

@groge
Copy link

groge commented Aug 28, 2020

I have the same problem after moved docker's default directory.
host:/srv directory mapped /etc/hosts on container.
[host : df -h]
image
[container: df -h]
image
I'm using metricbeat:6.3.2

@botelastic
Copy link

botelastic bot commented Jul 29, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@botelastic botelastic bot added the Stalled label Jul 29, 2021
@qqqasdwx
Copy link

qqqasdwx commented Aug 2, 2021

I saw that this problem was marked as stale, but no one told me that this problem has been fixed. Has this problem been fixed now?

@botelastic botelastic bot removed the Stalled label Aug 2, 2021
@botelastic
Copy link

botelastic bot commented Aug 2, 2022

Hi!
We just realized that we haven't looked into this issue in a while. We're sorry!

We're labeling this issue as Stale to make it hit our filters and make sure we get back to it as soon as possible. In the meantime, it'd be extremely helpful if you could take a look at it as well and confirm its relevance. A simple comment with a nice emoji will be enough :+1.
Thank you for your contribution!

@botelastic botelastic bot added the Stalled label Aug 2, 2022
@botelastic botelastic bot closed this as completed Jan 29, 2023
@zube zube bot removed the [zube]: Done label Apr 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants