Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.14.0] no support for module enable #328

Open
tuxmaster5000 opened this issue Jul 17, 2023 · 1 comment
Open

[4.14.0] no support for module enable #328

tuxmaster5000 opened this issue Jul 17, 2023 · 1 comment

Comments

@tuxmaster5000
Copy link

Under filebeat 8 the modules under /etc/filebeat/modules.d are disabled by default, and needs to be enabled via
filebeat modules enable <module>

@TuningYourCode
Copy link
Contributor

We use filebeat 7.x modules just fine by https://github.com/pcfens/puppet-filebeat/blob/master/manifests/init.pp#L117

e.g.:

filebeat::modules:
  mysql:
    error:
      enabled: true
      var.paths:
        - /var/log/mysql/error.log
    slowlog:
      enabled: true
      var.paths:
        - /var/log/mysql/slow.log
  nginx:
    access:
      enabled: true
    error:
      enabled: true
      var.paths:
        - /var/log/nginx/*.error.log
  system:
    syslog:
      enabled: true
      var.paths:
        - /var/log/syslog
    auth:
      enabled: true
      var.paths:
        - /var/log/auth.log
filebeat::overwrite_pipelines: true
filebeat::setup:
  ilm:
    enabled: true
    overwrite: true
  dashboards:
    enabled: true
  template:
    settings:
      index:
        number_of_replicas: 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants