-
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 returns incorrect, or misleading, disk usage percentage on linux filesystems #5494
Comments
I can confirm this:
df -h shows 74% usage on root / |
I opened #6231 to address this issue. Once this is merged it would be great if you all could test the snapshot build and verify the |
The used percentage reported by Metricbeat does not match what is reported by `df`. Metricbeat's computation of the `system.filesystem.used.pct` value was based on the total number of bytes, but df uses the total number of bytes available to the unprivileged user. | FS | Blocks | Used | Available | Use % | Mount | Metricbeat Used % After This Change | Before This Change | |----------|-------------|-------------|------------|-------|-------|-------------------------------------|--------------------| | /dev/vda | 21137846272 | 16992858112 | 3071246336 | 85 | / | 0.846928312 | 0.8039067885 | Fixes elastic#5494
The used percentage reported by Metricbeat does not match what is reported by `df`. Metricbeat's computation of the `system.filesystem.used.pct` value was based on the total number of bytes, but df uses the total number of bytes available to the unprivileged user. | FS | Blocks | Used | Available | Use % | Mount | Metricbeat Used % After This Change | Before This Change | |----------|-------------|-------------|------------|-------|-------|-------------------------------------|--------------------| | /dev/vda | 21137846272 | 16992858112 | 3071246336 | 85 | / | 0.846928312 | 0.8039067885 | Fixes #5494
@andrewkroh i will try and get some time to testing this. As i normally use the packaged versions i will have to setup a test env for this so might take some time before i can test. |
Details posted to discuss before filing the bug as required:
https://discuss.elastic.co/t/bug-incorrect-disk-usage-statistics/103207
For confirmed bugs, please report:
The text was updated successfully, but these errors were encountered: