System Process Metricset

edit

The System process metricset provides process statistics. One document is provided for each process.

This metricset is available on:

  • Darwin
  • FreeBSD
  • Linux
  • Windows

Control Group (cgroup) Metrics

edit

On Linux this metricset can collect metrics from any cgroups that the process is a member of. This feature is currently experimental, and it is not enabled by default so you must add cgroup: true to the system module configuration to enable it.

Fields

edit

For a description of each field in the metricset, see the exported fields section.

Here is an example document generated by this metricset:

{
    "@timestamp": "2016-05-23T08:05:34.853Z",
    "beat": {
        "hostname": "host.example.com",
        "name": "host.example.com"
    },
    "metricset": {
        "host": "localhost",
        "module": "system",
        "name": "process",
        "rtt": 115
    },
    "system": {
        "process": {
            "cmdline": "go test -tags=integration github.com/elastic/beats/metricbeat/module/... -data",
            "cpu": {
                "start_time": "2016-09-06T07:33:04.000Z",
                "total": {
                    "pct": 0
                }
            },
            "fd": {
                "limit": {
                    "hard": 1048576,
                    "soft": 1048576
                },
                "open": 4
            },
            "memory": {
                "rss": {
                    "bytes": 13770752,
                    "pct": 0.0016
                },
                "share": 6594560,
                "size": 232972288
            },
            "name": "go",
            "pgid": 1,
            "pid": 1,
            "ppid": 0,
            "state": "sleeping",
            "username": "root"
        }
    },
    "type": "metricsets"
}