Comments (7)
I've got the same issue here. Any suggestions from people? It seems like previously Faraday Middleware was not compatible with Faraday 0.9 but that looks like it was fixed ?
I'm not a ruby dev so I'm not particularly familiar with where to go from here, so any suggestions would be helpful! :)
from fluent-plugin-aws-elasticsearch-service.
I've found the source of the issue and have a fix! It seems that Ruby was not installing the gems in a place that the td-agent user has access to and therefore could not require the faraday_middleware gem. To fix this, first uninstall faraday_middleware with
sudo gem uninstall faraday_middleware
then reinstall it under the td-agent user using the following command:
sudo -u td-agent /usr/sbin/td-agent-gem install faraday_middleware
I also then stumbled across an issue whereby the plugin was unable to connect to our AWS Elasticsearch endpoint when we were just specifying the domain. To fix this, you must specify the protocol and port. For example, our endpoint config now looks like this:
<endpoint>
url "http://xxx.ap-southeast-2.es.amazonaws.com:80"
region "ap-southeast-2"
access_key_id "xxx"
secret_access_key "xxx"
</endpoint>
I hope this fixes any issues anyone might have!
cc @BoGs
from fluent-plugin-aws-elasticsearch-service.
Hi @BoGs.
I'm sorry, "v0.0. *" is bug-ridden.
Please try using the "v0.1.0".
thanks!
from fluent-plugin-aws-elasticsearch-service.
sorry...
I was mistaken dependencies.
I removed the "require 'faraday_middleware'".
Please try using the "v0.1.1".
thanks
from fluent-plugin-aws-elasticsearch-service.
thx for fixing that lines, I've removed gem install procedure of my docker container.
from fluent-plugin-aws-elasticsearch-service.
Thanks for the new version - it is working now. Thanks for the quick response.
from fluent-plugin-aws-elasticsearch-service.
Thank you for the reply!
from fluent-plugin-aws-elasticsearch-service.
Related Issues (20)
- emit transaction failed: error_class=NoMethodError error="undefined method `full_pack' HOT 3
- Query : Aws elastic search plugin will support multiple outputs(i.e s3) HOT 4
- Unable to send logs to s3 using aws-elasticsearch-plugin - Help! HOT 3
- Unable to activate faraday_middleware-aws-sigv4-0.2.5, because faraday-0.15.4 conflicts with faraday (< 0.15, >= 0.9) (Gem::ConflictError) HOT 3
- Fluentd can't work with Signature Version 4 HOT 8
- Please release latest version HOT 3
- specifying aws-es index name HOT 2
- Is shard configuration possible while creating index HOT 2
- unable to sign request without credentials set when role-arn is provided to plugin HOT 2
- Error starting FluentD HOT 2
- Unable to start fluentd using this plugin w/ prefer_oj_serializer enabled HOT 1
- Error Starting Fluentd HOT 5
- Can We Have Weekly Index creation?
- Change fluent-plugin-elasticsearch dependency to fluent-plugin-opensearch HOT 1
- This plugin is not compatible with other plugins using the latest elasticsearch gems
- Unable to connect to opensearch using "aws-elasticsearch-service" plugin
- Please add log_400_event or log_level (debug) options HOT 9
- Need to be able to specify session duration properly
- Can i suppress type name for OpenSearchservice v2.3 HOT 2
- Fluentd Pod giving error "C:/ruby31/lib/ruby/gems/3.1.0/gems/fluent-plugin-aws-elasticsearch-service-2.4.1/lib/fluent/plugin/out_aws-elasticsearch-service.rb:144:in `include': wrong argument type Class (expected Module) (TypeError)" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fluent-plugin-aws-elasticsearch-service.