WARNING: Version 6.0 of Metricbeat has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
System cpu metricset
editSystem cpu metricset
editThe System cpu
metricset provides CPU statistics.
This metricset is available on:
- FreeBSD
- Linux
- macOS
- OpenBSD
- Windows
Configuration
edit-
cpu.metrics
-
This option controls what CPU metrics are reported. The value is a list and three metric types are supported -
percentages
,normalized_percentages
, andticks
. The default value iscpu.metrics: [percentages]
.metricbeat.modules: - module: system metricsets: [cpu] cpu.metrics: [percentages, normalized_percentages, ticks]
Fields
editFor 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": { "module": "system", "name": "cpu", "rtt": 115 }, "system": { "cpu": { "cores": 8, "idle": { "norm": { "pct": 0.8851 }, "pct": 7.0811, "ticks": 1680102981 }, "iowait": { "norm": { "pct": 0 }, "pct": 0, "ticks": 0 }, "irq": { "norm": { "pct": 0 }, "pct": 0, "ticks": 0 }, "nice": { "norm": { "pct": 0 }, "pct": 0, "ticks": 0 }, "softirq": { "norm": { "pct": 0 }, "pct": 0, "ticks": 0 }, "steal": { "norm": { "pct": 0 }, "pct": 0, "ticks": 0 }, "system": { "norm": { "pct": 0.0412 }, "pct": 0.3296, "ticks": 42755361 }, "user": { "norm": { "pct": 0.0737 }, "pct": 0.5893, "ticks": 50330417 } } } }