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

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

beta[]

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
  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>>

include::linux/conntrack.asciidoc[]

include::linux/iostat.asciidoc[]

include::linux/ksm.asciidoc[]

include::linux/memory.asciidoc[]

include::linux/pageinfo.asciidoc[]

