-
Notifications
You must be signed in to change notification settings - Fork 26
Logstash 5.x compatible #18
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
Conversation
|
@vktor18 to properly run the travis build, you must update the travis.yml to match what is done in other plugin https://github.com/logstash-plugins/logstash-filter-grok/blob/master/.travis.yml mainly forcing jdk8 is key |
|
I have no idea why travis is angry with me.... Did I push incorrect changes for the travis.yml? |
|
Now the travis build is ok, but the spec is failing |
|
@vktor18 This seems to be a real error. We are expecting the I am wondering if the line at https://github.com/logstash-plugins/logstash-filter-cipher/pull/18/files#diff-8046de15c827a600856f2cdb65db73edR153 is doing what we are actually expecting. |
|
thanks @ph for the reply. I don't understand which line are you referring in the link .. |
|
I am referring to theses lines, I wonder if they are problematic with the LS 5.0 API. if (event.get(@source).nil? || event.get(@source).empty?)
@logger.debug("Event to filter, event 'source' field: " + @source + " was null(nil) or blank, doing nothing")
return
end |
|
@vktor18 would be nice to add |
| @@ -1,15 +1,41 @@ | |||
| # encoding: utf-8 | |||
| # encoding: ASCII-8BIT | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was it changed by your IDE, or needed in your code for some reason ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I changed because I had an error of incompatible type.
fixed mutex from #11 and added support for Logstash 5.x