elastic / beats

:tropical_fish: Beats - Lightweight shippers for Elasticsearch & Logstash
https://www.elastic.co/products/beats
Other
12.15k stars 4.91k forks source link

Support yaml extensions for modules #34899

Closed jonas27 closed 2 weeks ago

jonas27 commented 1 year ago

This is both a bug and feature request issue.

Support yaml

It is past time beats supported modules with the .yaml file extension. It is the recommended way of using YAML, see https://yaml.org/faq.html , and all configs in Kubernetes are in usually in yaml (as it should be).

Metricbeat can start with wrong config

using a metricbeat configuration including the following

metricbeat.config.modules:
  path: ${path.config}/modules.d/*.yaml

works when starting a pod. And no logs indicate that this is not ok.

However, when listing all modules, ie metricbeat modules list, it returns error that only .yml is accepted.

For confirmed bugs, please report:

botelastic[bot] commented 1 year ago

This issue doesn't have a Team:<team> label.

botelastic[bot] commented 6 months ago

Hi! We just realized that we haven't looked into this issue in a while. We're sorry!

We're labeling this issue as Stale to make it hit our filters and make sure we get back to it as soon as possible. In the meantime, it'd be extremely helpful if you could take a look at it as well and confirm its relevance. A simple comment with a nice emoji will be enough :+1. Thank you for your contribution!