The latest version for the logstash-input-dynamodb plugin is currently breaking my setup.
Whenever I try to start the logstash service I get a warning and I am asked to run the script with the configtest parameter which gives me this:
The given configuration is invalid. Reason: Couldn't find any input plugin named 'dynamodb'. Are you sure this is correct? Trying to load the dynamodb input plugin resulted in this error: no such file to load -- logstash/inputs/dynamodb {:level=>:fatal}
Currently my logstash configuration file related to this plugin is like this:
input {
dynamodb{
endpoint => "http://dynamodb.us-west-2.amazonaws.com:8000"
streams_endpoint => "http://streams.dynamodb.us-west-2.amazonaws.com:8000"
view_type => "new_image"
aws_access_key_id => "access-key"
aws_secret_access_key => "secret-key"
table_name => "table-name"
perform_scan => false
checkpointer => "logstash_input_ptr"
type => "my-type"
}
...
}
and I am installing the plugin like this
/opt/logstash/bin/logstash-plugin install logstash-input-dynamodb
Now, I've managed to get it to work again by uninstalling the plugin and then reinstalling like this:
/opt/logstash/bin/logstash-plugin install --version=2.0.3 logstash-input-dynamodb
I could not find much information about this new version and I was wondering what is happening.
Thanks in advance