You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have created docker-compose.yml and fluentd/etc + fluentd/fluent.conf with respect to the documentation on https://docs.fluentd.org/v/0.12/container-deployment/docker-compose. When i run cmd docker-compose up it failed with an error :"/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)". I have searched net and found some tips but they didnt work on my environment.
web_1 | WARNING: no logs are available with the 'fluentd' log driver
fluentd_1 | 2023-02-06 12:04:19 +0000 [info]: parsing config file is succeeded path="/fluentd/etc/fluent.conf"
fluentd_1 | 2023-02-06 12:04:19 +0000 [info]: gem 'fluent-plugin-elasticsearch' version '5.0.3'
fluentd_1 | 2023-02-06 12:04:19 +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)fluentd_1 | from /usr/local/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'fluentd_1 | from /usr/local/bundle/gems/fluent-plugin-elasticsearch-5.0.3/lib/fluent/plugin/elasticsearch_fallback_selector.rb:1:in `<top (required)>'fluentd_1 | from /usr/local/bundle/gems/fluent-plugin-elasticsearch-5.0.3/lib/fluent/plugin/out_elasticsearch.rb:31:in `require_relative'
fluentd_1 | from /usr/local/bundle/gems/fluent-plugin-elasticsearch-5.0.3/lib/fluent/plugin/out_elasticsearch.rb:31:in `<top (required)>'fluentd_1 | from /usr/local/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'fluentd_1 | from /usr/local/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'fluentd_1 | from /usr/local/bundle/gems/fluentd-1.12.0/lib/fluent/registry.rb:102:in `block in search'
fluentd_1 | from /usr/local/bundle/gems/fluentd-1.12.0/lib/fluent/registry.rb:99:in `each'fluentd_1 | from /usr/local/bundle/gems/fluentd-1.12.0/lib/fluent/registry.rb:99:in `search'fluentd_1 | from /usr/local/bundle/gems/fluentd-1.12.0/lib/fluent/registry.rb:44:in `lookup'fluentd_1 | from /usr/local/bundle/gems/fluentd-1.12.0/lib/fluent/plugin.rb:160:in `new_impl'
fluentd_1 | from /usr/local/bundle/gems/fluentd-1.12.0/lib/fluent/plugin.rb:109:in `new_output'fluentd_1 | from /usr/local/bundle/gems/fluentd-1.12.0/lib/fluent/plugin/multi_output.rb:72:in `block in configure'fluentd_1 | from /usr/local/bundle/gems/fluentd-1.12.0/lib/fluent/plugin/multi_output.rb:63:in `each'fluentd_1 | from /usr/local/bundle/gems/fluentd-1.12.0/lib/fluent/plugin/multi_output.rb:63:in `configure'
fluentd_1 | from /usr/local/bundle/gems/fluentd-1.12.0/lib/fluent/plugin/out_copy.rb:38:in `configure'fluentd_1 | from /usr/local/bundle/gems/fluentd-1.12.0/lib/fluent/plugin.rb:178:in `configure'fluentd_1 | from /usr/local/bundle/gems/fluentd-1.12.0/lib/fluent/agent.rb:132:in `add_match'fluentd_1 | from /usr/local/bundle/gems/fluentd-1.12.0/lib/fluent/agent.rb:74:in `block in configure'
fluentd_1 | from /usr/local/bundle/gems/fluentd-1.12.0/lib/fluent/agent.rb:64:in `each'fluentd_1 | from /usr/local/bundle/gems/fluentd-1.12.0/lib/fluent/agent.rb:64:in `configure'fluentd_1 | from /usr/local/bundle/gems/fluentd-1.12.0/lib/fluent/label.rb:31:in `configure'fluentd_1 | from /usr/local/bundle/gems/fluentd-1.12.0/lib/fluent/root_agent.rb:143:in `block in configure'
fluentd_1 | from /usr/local/bundle/gems/fluentd-1.12.0/lib/fluent/root_agent.rb:143:in `each'fluentd_1 | from /usr/local/bundle/gems/fluentd-1.12.0/lib/fluent/root_agent.rb:143:in `configure'fluentd_1 | from /usr/local/bundle/gems/fluentd-1.12.0/lib/fluent/engine.rb:105:in `configure'fluentd_1 | from /usr/local/bundle/gems/fluentd-1.12.0/lib/fluent/engine.rb:80:in `run_configure'
fluentd_1 | from /usr/local/bundle/gems/fluentd-1.12.0/lib/fluent/supervisor.rb:641:in `run_supervisor'fluentd_1 | from /usr/local/bundle/gems/fluentd-1.12.0/lib/fluent/command/fluentd.rb:341:in `<top (required)>'fluentd_1 | from /usr/local/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'fluentd_1 | from /usr/local/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
fluentd_1 | from /usr/local/bundle/gems/fluentd-1.12.0/bin/fluentd:8:in `<top (required)>'fluentd_1 | from /usr/local/bundle/bin/fluentd:23:in `load'fluentd_1 | from /usr/local/bundle/bin/fluentd:23:in `<main>'main_fluentd_1 exited with code 1
Additional context
No response
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this issue will be closed in 7 days
Describe the bug
I have created docker-compose.yml and fluentd/etc + fluentd/fluent.conf with respect to the documentation on https://docs.fluentd.org/v/0.12/container-deployment/docker-compose. When i run cmd docker-compose up it failed with an error :"/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)". I have searched net and found some tips but they didnt work on my environment.
To Reproduce
just create docker-compose.yml / fluent.conf and Dockerfile wrt https://docs.fluentd.org/v/0.12/container-deployment/docker-compose
Expected behavior
get fluentd working without error
Your Environment
Your Configuration
Your Error Log
Additional context
No response
The text was updated successfully, but these errors were encountered: