////
This file is generated! See scripts/mage/docs_collector.go
////

:modulename: linux

[[metricbeat-module-linux]]
== Linux module

beta[]

include::{libbeat-dir}/shared/integration-link.asciidoc[]

:modulename!:

The Linux module reports on metrics exclusive to the Linux kernel and GNU/Linux OS.

[float]
=== Example configuration

The Linux module supports the standard configuration options that are described
in <<configuration-metricbeat>>. Here is an example configuration:

[source,yaml]
----
metricbeat.modules:
- module: linux
  period: 10s
  metricsets:
    - "pageinfo"
    - "memory"
    # - ksm
    # - conntrack
    # - iostat
    # - pressure
  enabled: true
  #hostfs: /hostfs

----

[float]
=== Metricsets

The following metricsets are available:

* <<metricbeat-metricset-linux-conntrack,conntrack>>

* <<metricbeat-metricset-linux-iostat,iostat>>

* <<metricbeat-metricset-linux-ksm,ksm>>

* <<metricbeat-metricset-linux-memory,memory>>

* <<metricbeat-metricset-linux-pageinfo,pageinfo>>

* <<metricbeat-metricset-linux-pressure,pressure>>

include::linux/conntrack.asciidoc[]

include::linux/iostat.asciidoc[]

include::linux/ksm.asciidoc[]

include::linux/memory.asciidoc[]

include::linux/pageinfo.asciidoc[]

include::linux/pressure.asciidoc[]

