System Module

edit

The System module allows you to monitor your servers. Because the System module always applies to the local server, the hosts config option is not needed.

Module-Specific Configuration Notes

edit

The System module has these additional config options:

processes

When the process metricset is enabled, you can use the processes option to define a list of regexp expressions to filter the processes that are reported. For more complex filtering, you should use the processors configuration option.

The following example config returns metrics for all processes:

metricbeat.modules:
- module: system
  metricsets: ["process"]
  processes: ['.*']
process.cgroups.enabled

When the process metricset is enabled, you can use this boolean configuration option to disable cgroup metrics. By default cgroup metrics collection is enabled.

The following example config disables cgroup metrics on Linux.

metricbeat.modules:
- module: system
  metricsets: ["process"]
  process.cgroups.enabled: false
cpu_ticks

When the cpu or core metricset is enabled, you can specify cpu_ticks: true to report CPU ticks in addition to CPU percentages stats. For example:

metricbeat.modules:
- module: system
  metricsets: ["cpu", "core"]
  cpu_ticks: true

Dashboard

edit

The System module comes with a predefined dashboard. For example:

metricbeat system dashboard

Example Configuration

edit

The System module supports the standard configuration options that are described in Modules. Here is an example configuration:

metricbeat.modules:
- module: system
  metricsets:
    # CPU stats
    - cpu

    # System Load stats
    - load

    # Per CPU core stats
    #- core

    # IO stats
    #- diskio

    # Per filesystem stats
    - filesystem

    # File system summary stats
    - fsstat

    # Memory stats
    - memory

    # Network stats
    - network

    # Per process stats
    - process

    # Sockets (linux only)
    #- socket
  enabled: true
  period: 10s
  processes: ['.*']

Metricsets

edit

The following metricsets are available: