Reputation: 3356
Writing a Logstash output plugin for AWS Kinesis.
Using this tutorial, logstash-output-sqs-0.1.3.gem
was built from this GitHub repo.
Installing the gem file using the plugin install
command:
bin/plugin install ~/logstash-output-sqs-0.1.3.gem
Can only install contrib at this time... Exiting.
The error reported is:
sqs must set a milestone.
Error reading plugin file ~/logstash-output-sqs-0.1.3.gem, caused by NameError
Upvotes: 0
Views: 2864
Reputation: 3356
I was able to work with Logstash 1.5.0 beta1 as follow:
In my class in lib/logstash/outputs/kinesis.rb
I added:
milestone 1
In logstash-output-kinesis.gemspec
I changed dependency from:
s.add_runtime_dependency "logstash-core", '>= 1.4.0', '< 2.0.0'
to
s.add_runtime_dependency "logstash", '>= 1.4.0', '< 2.0.0'
BTW the plugin is ready:
https://github.com/adience-code/logstash-output-kinesis
This commit is compatible with Logstash 1.5.0 beta1.
Upvotes: 1