diff --git a/docs/copied-from-beats/docs/shared-path-config.asciidoc b/docs/copied-from-beats/docs/shared-path-config.asciidoc index e6264dbca6f..36186585eaa 100644 --- a/docs/copied-from-beats/docs/shared-path-config.asciidoc +++ b/docs/copied-from-beats/docs/shared-path-config.asciidoc @@ -106,3 +106,20 @@ Example: ------------------------------------------------------------------------------ path.logs: /var/log/beats ------------------------------------------------------------------------------ + +[float] +==== `system.hostfs` + +Specifies the mount point of the host's filesystem for use in monitoring a host. +This can either be set in the config, or with the `--system.hostfs` CLI flag. This is used for cgroup self-monitoring. +ifeval::["{beatname_lc}"=="metricbeat"] +This is also used by the system module to read files from `/proc` and `/sys`. +endif::[] + + +Example: + +[source,yaml] +------------------------------------------------------------------------------ +path.logs: /var/log/beats +------------------------------------------------------------------------------ \ No newline at end of file