System uptime metricset

The System uptime metricset provides the uptime of the host operating system.

This metricset is available on:

  • Linux
  • macOS
  • OpenBSD
  • FreeBSD
  • Windows

Configuration

There are no configuration options for this metricset.

Fields

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",
    "agent": {
        "hostname": "host.example.com",
        "name": "host.example.com"
    },
    "event": {
        "dataset": "system.uptime",
        "duration": 115000,
        "module": "system"
    },
    "metricset": {
        "name": "uptime"
    },
    "service": {
        "type": "system"
    },
    "system": {
        "uptime": {
            "duration": {
                "ms": 1295582000
            }
        }
    }
}