Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

Not able to connect to AWS ES #31

Open
shekhargoat opened this issue Feb 22, 2017 · 0 comments
Open

Not able to connect to AWS ES #31

shekhargoat opened this issue Feb 22, 2017 · 0 comments

Comments

@shekhargoat
Copy link

I have setup logstash dynamodb input plugin in a EC2 instance and the below if my configuration file to start the plugin:

input {
dynamodb{
endpoint => "dynamodb.us-east-1.amazonaws.com"
streams_endpoint => "streams.dynamodb.us-east-1.amazonaws.com"
view_type => "new_and_old_images"
aws_access_key_id => "xxxxxxxxxxxxxxxx"
aws_secret_access_key => "xxxxxxxxxxx"
table_name => "FoodItem"
}
}
output {
elasticsearch {
host => ["search-testfooditemdomain-yw2nsxkyfmub2x7ijfyra5v6xu.us-east-1.es.amazonaws.com"]
region => "us-east-1"
aws_access_key_id => "xxxxxxxxxxxxxxxx"
aws_secret_access_key => "xxxxxxxxxxx"
}
stdout { }
}

I am getting the following error:
Pipeline aborted due to error {:exception=>"LogStash::ConfigurationError", :backtrace=>["/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/logstash/config/mixin.rb:88:in config_init'", "org/jruby/RubyHash.java:1342:in each'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/logstash/config/mixin.rb:72:in config_init'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/logstash/outputs/base.rb:79:in initialize'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/logstash/output_delegator.rb:74:in register'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/logstash/pipeline.rb:181:in start_workers'", "org/jruby/RubyArray.java:1613:in each'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/logstash/pipeline.rb:181:in start_workers'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/logstash/pipeline.rb:136:in run'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/logstash/agent.rb:491:in start_pipeline'"], :level=>:error}

Please help since I am new to this plugin.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant