Closed waynetaylor closed 7 years ago
Logstash Version 5.3.0 OS: mac OS Sierra 10.12.3 Config File:
input{ sqs{ queue => "queue" } } output { stdout { codec => json_lines } }
ERROR:
[2017-05-01T12:38:22,898][ERROR][logstash.pipeline ] Error registering plugin {:plugin=>"<LogStash::Inputs::SQS queue=>\"arn:aws:sqs:us-east-1:623692085147:gogo-billing-realtime-fig2\", id=>\"d4297e7362463b9e28ffd54d552eb1314e0502fe-1\", enable_metric=>true, codec=><LogStash::Codecs::JSON id=>\"json_5122233f-4067-409f-ab92-f60a58b82272\", enable_metric=>true, charset=>\"UTF-8\">, threads=>1, region=>\"us-east-1\", polling_frequency=>20>", :error=>"uninitialized constant Aws::Client::Errors"}
aws sqs receive-message --queue-url=https://sqs.us-east-1.amazonaws.com/id/gogo-queue works from AWS CLI..
I see i had two issues: 1) I somehow had the ARN vs queue name. 2) The Jruby issue wasn't giving a nice message of what was going on.
Logstash Version 5.3.0 OS: mac OS Sierra 10.12.3 Config File:
ERROR:
[2017-05-01T12:38:22,898][ERROR][logstash.pipeline ] Error registering plugin {:plugin=>"<LogStash::Inputs::SQS queue=>\"arn:aws:sqs:us-east-1:623692085147:gogo-billing-realtime-fig2\", id=>\"d4297e7362463b9e28ffd54d552eb1314e0502fe-1\", enable_metric=>true, codec=><LogStash::Codecs::JSON id=>\"json_5122233f-4067-409f-ab92-f60a58b82272\", enable_metric=>true, charset=>\"UTF-8\">, threads=>1, region=>\"us-east-1\", polling_frequency=>20>", :error=>"uninitialized constant Aws::Client::Errors"}
aws sqs receive-message --queue-url=https://sqs.us-east-1.amazonaws.com/id/gogo-queue works from AWS CLI..