Description
Describe the bug
I am (to the best of my knowledge) strictly following the official docker-compose example (https://docs.fluentd.org/container-deployment/docker-compose) but the Fluentd image runs into an error installing fluent-plugin-elasticsearch
:
fluentd_1 | 2022-02-21 08:44:31 +0000 [info]: gem 'fluentd' version '1.12.0'
fluentd_1 | /usr/local/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in 'require': cannot load such file -- elasticsearch/transport/transport/connections/selector (LoadError)
Is also experienced by others (@https://stackoverflow.com/users/18044852/henry-kao):
https://stackoverflow.com/questions/71120621/efk-system-is-build-on-docker-but-fluentd-cant-start-up/71126320
To Reproduce
follow https://docs.fluentd.org/container-deployment/docker-compose
Expected behavior
Fluentd container to start up with no errors...
Your Environment
- Fluentd version: fluent/fluentd:v1.12.0-debian-1.0 (as per the docs, newer version seems to make no difference)
- Operating system: Ubuntu 20.04.4 LTS
- Kernel version: 5.4.0-89-generic
Your Configuration
as in [https://docs.fluentd.org/container-deployment/docker-compose](url)
Your Error Log
/usr/local/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in 'require': cannot load such file -- elasticsearch/transport/transport/connections/selector (LoadError)
Additional context
I would assume this is me getting something wrong, but as others confirm this behavior it might actually be an issue...