System core metricsetedit

The System core metricset provides usage statistics for each CPU core.

This metricset is available on:

  • FreeBSD
  • Linux
  • macOS
  • OpenBSD
  • Windows

Configurationedit

core.metrics

This option controls what metrics are reported for each CPU core. The value is a list and two metric types are supported - percentages and ticks. The default value is core.metrics: [percentages].

metricbeat.modules:
- module: system
  metricsets: [core]
  core.metrics: [percentages, ticks]

Fieldsedit

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

Here is an example document generated by this metricset:

{
    "@timestamp": "2017-10-12T08:05:34.853Z",
    "beat": {
        "hostname": "host.example.com",
        "name": "host.example.com"
    },
    "metricset": {
        "module": "system",
        "name": "core",
        "rtt": 115
    },
    "system": {
        "core": {
            "id": 1,
            "idle": {
                "pct": 0.22,
                "ticks": 1716095
            },
            "iowait": {
                "pct": 0,
                "ticks": 0
            },
            "irq": {
                "pct": 0,
                "ticks": 0
            },
            "nice": {
                "pct": 0,
                "ticks": 0
            },
            "softirq": {
                "pct": 0,
                "ticks": 0
            },
            "steal": {
                "pct": 0,
                "ticks": 0
            },
            "system": {
                "pct": 0.32,
                "ticks": 168895
            },
            "user": {
                "pct": 0.46,
                "ticks": 227129
            }
        }
    }
}