-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LS 2.4.1 - can't use translate filter after v3.2.0 #69
Comments
metoo - my investigation in comment: |
You will have to stick with v 3.1.0. Version 3.2.0 uses the logging platform made available by Logstash core in LS 5.0.0 only. Apologies, I should have pinned the |
Could this be fixed by undoing the logging changes, making a release, then reapplying the logging changes, pinning logstash-core-plugin-api, and making another release? |
It is relatively easy to add a compatible version of the loggable file. There is some logic in patching your logstash - more and more plugins are being updated to use Put the following content into a file at this location...
|
There are many ways of fixing this problem by making code or configuration changes on the customer end, changes that every customer affected by this would have to do to get back to something that was working yesterday. If we could fix it in one place, upstream, it would probably save a great many people a lot of heartache. |
@colinsurprenant and I discussed an alternative which we think will work for this and other plugins to have backward compatibility on Logstash 2.4.1 with regards to Loggable. I will create a separate gem that supplies the above code if logstash-core does not have the file. This plugin will depend on that gem in 3.2.1. |
The logstash team and contributors really have no idea how many 2.4.1 installations are in production and actively being upgraded to newer plugin versions. It could be tens or thousands. |
There are likely more compatibility issues than just logging. See... robcowart/elastiflow#166 In this case the user was using 6.4.0. |
Another... elastic/logstash#9936 |
This has just bitten me too, thankfully on a legacy system I'm phasing out. I was using v2.4.0 so needed to adjust the path above from 2.4.1. |
Using logstash:2.4.1 and installing logstash-filter-translate with the same mechanism I've been using for 3+ years:
/opt/logstash/bin/logstash-plugin install logstash-filter-translate
Logstash is now crashing on loading my conf file with the error:
:reason=>"Couldn't find any filter plugin named 'translate'. Are you sure this is correct? Trying to load the translate filter plugin resulted in this error: no such file to load -- logstash/util/loggable"
Currently have a production outage due to this until I retrofit the plugin installation with a
--version 3.1.0
- any help on patching this and cutting a new release would be appreciated.The text was updated successfully, but these errors were encountered: