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

Filebeat ignores additional config files on syntax error #3572

Closed
breml opened this issue Feb 10, 2017 · 0 comments
Closed

Filebeat ignores additional config files on syntax error #3572

breml opened this issue Feb 10, 2017 · 0 comments
Labels

Comments

@breml
Copy link
Contributor

breml commented Feb 10, 2017

If additional config files are defined with filebeat.config_dir and thous config files do have yaml syntax errors, these errors are silently ignored and filebeat is started normally. This is also true, if -configtest is used.

Version: current master

Steps to reproduce:

Have a filebeat.yml with filebeat.config_dir: /tmp/filebeat set.
Have an additional config file /tmp/filebeat/syntax_error.yml with content:

filebeat.prospectors:
- input_type: log
  paths:
    - /var/log/*.log
  exclude_files: [".gz\$"]

(the syntax error is in the last line, \$ is not a valid escape character.)

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

No branches or pull requests

2 participants