MetricSet System not being populated for Ubuntu

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

    "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
        }
      }
    }

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

 "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
        }
      }
 "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"
    }
  },

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