Skip to content

Commit

Permalink
Clarify that at least one fileset must be enabled in a filebeat module (
Browse files Browse the repository at this point in the history
  • Loading branch information
dedemorton authored Aug 9, 2022
1 parent ecef12c commit 3008ee2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/en/observability/ingest-logs.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ include::{beats-repo-dir}/tab-widgets/enable-modules-widget.asciidoc[]
--

. In the module config under `modules.d`, change the module settings to match
your environment.
your environment. You must enable at least one fileset in the module.
**Filesets are disabled by default.**
+
For example, log locations are set based on the OS. If your logs aren't in
default locations, set the `paths` variable:
Expand All @@ -102,6 +103,7 @@ default locations, set the `paths` variable:
----
- module: nginx
access:
enabled: true
var.paths: ["/var/log/nginx/access.log*"] <1>
----
--
Expand Down

0 comments on commit 3008ee2

Please sign in to comment.