Capturing system metrics

In order to monitor and capture metrics related to servers, Metricbeat provides the system module. The system module provides the following metricsets to capture server metrics, as follows:

  • core: This metricset provides usage statistics for each CPU core.
  • cpu: This metricset provides CPU statistics.
  • diskio: This metricset provides disk IO metrics collected from the operating system. One event is created for each disk mounted on the system.
  • filesystem: This metricset provides filesystem statistics. For each file system, one event is created.
  • process: This metricset provides process statistics. One event is created for each process.
  • process_summary: This metricset collects high-level statistics about the running processes.
  • fsstat: This metricset provides overall filesystem statistics.
  • load: This metricset provides load statistics.
  • memory: This metricset provides memory statistics.
  • network: This metricset provides network IO metrics collected from the operating system. One event is created for each network interface.
  • socket: This metricset reports an event for each new TCP socket that it sees. This metricset is available on Linux only and requires kernel 2.6.14 or newer.

Some of these metricsets provide configuration options for fine-tuning returned metrics. For example, the cpu metricset provides a cpu.metrics configuration to control the CPU metrics that are reported. However, metricsets such as memory and diskio don't provide any configuration options. Unlike other modules, which can be monitored from other servers by configuring the hosts appropriately (not a highly recommended approach), system modules are local to the server and can collect the metrics of underlying hosts.

A complete list of fields per metricset that are exported by the system module can be found at https://www.elastic.co/guide/en/beats/metricbeat/current/exported-fields-system.html.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset