question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot enable Filebeat modules through values.yml

See original GitHub issue

Chart version: 7.9.2

Kubernetes version:

Kubernetes provider: E.g. GKE (Google Kubernetes Engine) EKS

Helm Version: 3.2.0

I try to enable modules from values file, but it didn’t work. values.yaml configuration:

...
  filebeatConfig:
    filebeat.yml: |
      filebeat.modules:
      - module: nginx
      - module: mysql
      - module: system
      filebeat.config:
        modules:
          enabled: true
          path: ${path.config}/modules.d/*.yml
...

When i do helm install with this config in values file, nothing happen, i tried to list enabled modules inside the container with filebeat modules list, and nginx, mysql, system are still disabled. Configuration is copied in the container’s filebeat.yml file tho.

I am able to enable them only with filebeat modules enable, but this method is not persistent.

What can be the reason? I tried everything, moving filebeat.modules part after filebeat.config and so on, nothing help.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:11 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
jmlrtcommented, May 25, 2021

still valid

1reaction
Alvaroca1commented, Aug 27, 2021

we are still experiencing this issue, has it been resolved yet?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Configure modules | Filebeat Reference [8.5] - Elastic
To enable specific modules in the filebeat.yml config file, add entries to the filebeat.modules list. Each entry in the list begins with a...
Read more >
filebeat.reference.yml - Elastic
The reference file is located in the same directory as the filebeat.yml file. ... module: auditd #log: #enabled: true # Set custom paths...
Read more >
Load external configuration files | Filebeat Reference [8.5]
Filebeat can load external configuration files for inputs and modules, allowing you to separate your configuration into multiple smaller configuration files ...
Read more >
Filebeat quick start: installation and configuration - Elastic
Enable and configure data collection modulesedit ... In the module config under modules.d , change the module settings to match your environment. You...
Read more >
Elasticsearch module | Filebeat Reference [8.5] | Elastic
yml file, or overriding settings at the command line. You must enable at least one fileset in the module. Filesets are disabled by...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found