-
Notifications
You must be signed in to change notification settings - Fork 176
Description
The filebeat::cloud parameter is a hash in the module that expects your cloud.id and cloud.auth credentials. However when doing so the following gets outputted to the filebeat.yml config:
Sorry for the screenshot , I couldn't get the formatting right in this post.
The filebeat config does not recognize this configuration, it expects the cloud.id and .auth key/value pairs to be at the top-level of the config. As such it expects an outputs value as well. With Elastic cloud you are not required to specify an output if you have a cloud ID. Elastic cloud will not let you specify both an output AND a cloud id.
relevant error messages with the cloud hash are:
2021-05-25T16:12:50.267-0400 INFO instance/beat.go:280 Setup Beat: filebeat; Version: 6.8.15 2021-05-25T16:12:50.267-0400 INFO instance/beat.go:309 No outputs are defined. Please define one under the output section. 2021-05-25T16:12:50.267-0400 INFO instance/beat.go:359 filebeat stopped. 2021-05-25T16:12:50.268-0400 ERROR instance/beat.go:906 Exiting: No outputs are defined. Please define one under the output section.
If i manually remove the cloud has and just keep the id and auth section, it works as expected.
The module currently does not support a filebeat::cloud.id and filebeat::cloud.auth (or similar) in hiera
