-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Fix default Metricbeat config on Windows #2632
Conversation
The load metricset is not supported on Windows, and if it's enabled in the configuration file, it makes Metricbeat exit immediately with an error. This change adjusted the configuration on Windows to exclude the load metricset. Fixes 2623.
@elastic/beats this solution works, but I'm not entirely happy with it, as I'd prefer to minimize the changes we do to the default configs. Should we consider a way of automatically disabling metricsets/modules based on the platform? |
An alternative solution is that instead of failing when a metricset does not exist that we want to load, that we only print an error. An option is to only log an error for the ones we exist but are not supported on this platform (special errors). The problem with the automatic disabling is that when a user configures it and is not aware that it is not supported under windows, he will complain that no data is sent. |
The load metricset is not supported on Windows, and if it's enabled in the configuration file, it makes Metricbeat exit immediately with an error. This change adjusted the configuration on Windows to exclude the load metricset. Fixes 2623.
* Fix default Metricbeat config on Windows (#2632) The load metricset is not supported on Windows, and if it's enabled in the configuration file, it makes Metricbeat exit immediately with an error. This change adjusted the configuration on Windows to exclude the load metricset. Fixes 2623. * Changelog item for #2632 (#2635)
* Fix default Metricbeat config on Windows (elastic#2632) The load metricset is not supported on Windows, and if it's enabled in the configuration file, it makes Metricbeat exit immediately with an error. This change adjusted the configuration on Windows to exclude the load metricset. Fixes 2623. * Changelog item for elastic#2632 (elastic#2635)
The load metricset is not supported on Windows, and if it's enabled
in the configuration file, it makes Metricbeat exit immediately with
an error.
This change adjusted the configuration on Windows to exclude the load
metricset.
Fixes #2623.