Open jgfrancisco opened 9 years ago
I've never used dynamodb-local before, so I'm not sure about this issue. I'll try to reproduce this in my environment. Please give me some time.
Hi,
I got the same issue with UnknownError: 'uninitialized constant Fluent::DynamoDBOutput::AWS'
And I have fixed it!
The problem is that ruby cannot found AWS namespace, so we need to require it.
First of all check:
gem list | grep aws-sdk
I have installed following gems:
aws-sdk (2.0.33) aws-sdk-core (2.0.33) aws-sdk-resources (2.0.33) aws-sdk-v1 (1.63.0)
So here is a latest aws-sdk and old aws-sdk-v1 ( I use it for s3 plugin )
So I just change out_dynamodb.rb at 15 line i changed this require 'aws-sdk'
on that require 'aws-sdk-v1'
And It's working fine! I hope It will help someone.
Best Regards, Anton
Do we need to install ruby to fix this issue? I am getting UnknownError: 'uninitialized constant Fluent::DynamoDBOutput::AWS' When I try to run gem list | grep aws-sdk. I get gem command not found error.
How to resolve the error without installing gem/ruby. based on error -11-22 05:36:55 -0500 [error]: /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.12.29/lib/fluent/process.rb:269:in `write'
If I do cd of /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems i see bin folder. upon doing export $PATH. still I get gem not found.
I'm trying to evaluate fluentd with dynamodb. I am trying to set-up fluentd and dynamodb-local both running in docker containers. I'm having problems with making fluentd communicate.
My fluent.conf reads:
I'm getting the following errors:
What could I be doing wrong? Can I use dynamodb-local with this plug-in?