-
Notifications
You must be signed in to change notification settings - Fork 27
Plugin conflict with Logstash > 2.0.0 #8
Comments
@shalomvolchok we currently don't have support for logstash > 2.0.0, however if you are able to add that support, we would definitely be open to a pull request from you. |
Attached is a patch that seems to work for me with logstash 2.1, I am using https://github.com/benjcooley/logstash-input-dynamodb.git since I can't run it without (missing jars). Patch link removed, please see fork and pull request below |
@ahmedammar thanks for the patch! I will take a look into getting the repository up to date. |
@ahmedammar Thanks for sharing the patch! |
I have rebased the patch, and shutdown seems functional. |
@ahmedammar hi, i tried your patch it works fine. I could succesfully install the plugin. and i coud fetch the data from my dynamo db table by bin/logstash -f logsatsh-input-dyanmodb.conf from my logstash home directory. But when i move the config file to /etc/logstash/conf.d/ and restart the logstash services it gives me some error like this, "such file to load -- com/amazonaws/aws-java-sdk-elasticbeanstalk/1.10.11/aws-java-sdk-elasticbeanstalk-1.10.11 (LoadError)"". I guess the logstash deamon(run as logstash user) cant resolve/find the installed dependencies. other users lile root,ubuntu could easily resolve it and run the plugin smooth. |
I only ported the existing source to work with later logstash ... I'd be surprised if it worked before applying my patch ... |
@ahmedammar i have used this files https://github.com/genesi/logstash-input-dynamodb/tree/b1be5b5e848d53e5e10a5b72740fc4bbf9c92e94 . and used the following steps, and it works fine. My problem is with logstash daemon. The user logstash cant resolve the depndencies 😕 . Do you have any idea ? |
I'd recommend doing all the steps you mentioned as the logstash user? Sorry I can't be of more assistance ... |
I tried to build and install the gem as logstash user(by changing the permission of root directories, but its not a safe way ). it works fine. Need to find how install these gems globally |
I think im experiencing the same problem:
Works when I |
@teebu its because the gems are not available for your user its only avail for root. Try to build and install the plugin as ubuntu(any user you want). it should work. i couldnt find a better way to install gems globally |
Not sure how to do it without sudo.
|
i have followed some wired way to make it work finally. You need to build and install the plugin as logstash user. bcoz the logstash service daemon runs as logstash user. otherwise you need to run the config file manually all the time. Please try these steps. not sure it woould work for you, im using ubuntu15.10 wily.
sudo su su - logstash
/usr/bin/jruby,
Run this commands,
5.in logstash home directory (/opt/lohstash/),
run the config file again. if it works fine restart the logstash service |
I'll update the logstash gem shortly in ruby gems so it can be installed directly without downloading it locally. |
When attempting to install this plugin, with the most recent version of logstash, I receive the following error. Are there any plans to update this to work with > 2.0.0?
The text was updated successfully, but these errors were encountered: