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

Beat doesn't start if ES output is not enabled #4435

Closed
tsg opened this issue Jun 1, 2017 · 1 comment
Closed

Beat doesn't start if ES output is not enabled #4435

tsg opened this issue Jun 1, 2017 · 1 comment

Comments

@tsg
Copy link
Contributor

tsg commented Jun 1, 2017

In alpha2, this: ./metricbeat -e -E output.elasticsearch.enabled=false results in:

2017/06/01 07:53:47.544643 beat.go:539: CRIT Exiting: Template loading requested but the Elasticsearch output is not configured/enabled

That's a regression, if the ES output is disabled, template loading should also be disabled.

@tsg
Copy link
Contributor Author

tsg commented Jun 1, 2017

The workaround is to add -E setup.template.enabled: false.

tsg pushed a commit to tsg/beats that referenced this issue Jun 1, 2017
It used to raise an error if any template setting was set but
the ES output wasn't enabled. This caused problems with the new
Metricbeat config, which sets template settings in the configuration.

Also removes the code that enables the template loading on `-setup`,
because template loading is by default enabled anyway.

Fixes elastic#4435.
exekias pushed a commit that referenced this issue Jun 1, 2017
It used to raise an error if any template setting was set but
the ES output wasn't enabled. This caused problems with the new
Metricbeat config, which sets template settings in the configuration.

Also removes the code that enables the template loading on `-setup`,
because template loading is by default enabled anyway.

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

No branches or pull requests

1 participant