# MetricSet System not being populated for Ubuntu

**URL:** <https://discuss.elastic.co/t/metricset-system-not-being-populated-for-ubuntu/271125>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [April 23, 2021, 9:27pm UTC](https://discuss.elastic.co/t/metricset-system-not-being-populated-for-ubuntu/271125 "2021-04-23T21:27:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![maheshe](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@maheshe](https://discuss.elastic.co/u/maheshe)\
**Post date:** [April 23, 2021, 9:27pm UTC](https://discuss.elastic.co/t/metricset-system-not-being-populated-for-ubuntu/271125/1 "2021-04-23T21:27:38Z")

</div>

We have configured MetricBeat(7.9 Elastic search 7.9) in the AWS-EC2 Ubuntu 20.04.1 LTS

Collecting the filesystem MetricSet. The generated JSON doesn't contain the disk metrics like system.filesystem.used.pct: 0  
It shows up as 0

```auto
    "system": {
      "filesystem": {
        "free": 0,
        "files": 0,
        "device_name": "nsfs",
        "mount_point": "/run/snapd/ns/lxd.mnt",
        "total": 0,
        "type": "nsfs",
        "available": 0,
        "free_files": 0,
        "used": {
          "bytes": 0,
          "pct": 0
        }
      }
    }

```

---

<div class="post-metadata">

**Author:** ![maheshe](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@maheshe](https://discuss.elastic.co/u/maheshe)\
**Post date:** [April 29, 2021, 4:54pm UTC](https://discuss.elastic.co/t/metricset-system-not-being-populated-for-ubuntu/271125/2 "2021-04-29T16:54:10Z")

</div>

Observed that there were multiple json results for each volume and I can see the metrics for some volumes and some I dont

```auto
 "system": {
      "filesystem": {
        "mount_point": "/snap/lxd/19647",
        "total": 73924608,
        "free": 0,
        "type": "squashfs",
        "available": 0,
        "files": 1578,
        "free_files": 0,
        "device_name": "/dev/loop8",
        "used": {
          "pct": 1,
          "bytes": 73924608
        }
      }

```

```auto
 "system": {
      "filesystem": {
        "type": "nsfs",
        "files": 0,
        "free": 0,
        "device_name": "nsfs",
        "available": 0,
        "mount_point": "/run/docker/netns/4a26010b39b0",
        "used": {
          "bytes": 0,
          "pct": 0
        },
        "free_files": 0,
        "total": 0
      }
    },
    "ecs": {
      "version": "1.8.0"
    }
  },

```

---

<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:** [May 27, 2021, 6:54pm UTC](https://discuss.elastic.co/t/metricset-system-not-being-populated-for-ubuntu/271125/3 "2021-05-27T18:54:36Z")

</div>

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