-
Notifications
You must be signed in to change notification settings - Fork 81
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
Logstash-6.5.2 filter worker crash with Exception in pipelineworker #145
Comments
this can be replicated with:
The issue seems to be around for some time now |
could this be avoided with something like this? public boolean handleEvent(RubyEvent rubyEvent) {
final Event event = rubyEvent.getEvent();
Object input = event.getField(sourceField);
if (input == null) {
return false;
}
String ip;
if (input instanceof List) {
+ if (input.isEmpty()) {
+ return false;
+ }
ip = (String) ((List) input).get(0); in
|
I think I am right with the above..
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello
We have a problem with our Logstash installation and we think it is a bug.
Logstash version: 6.5.2
OS: Centos7
Description
One of the pipelines in our Logstash installation stops working with an "Exception in pipelineworker" error. The pipeline continues accepting events via the defined input but stops processing these events when they have been saved in a persisted queue. The persisted queue for the pipeline will keep growing with new events not processed by filters/output sections.
Cause
We have identified the cause of the problem. The filter worker will crash if one use a geoip filter and the geoip source value is an empty json object. This is triggered because sometimes the clients generate a log with an empty value for the attributte used by geoip/source.
Full errorlog
Pipeline configuration
Sample Data
Steps to Reproduce
Ref: https://discuss.elastic.co/t/logstash-6-5-2-filter-worker-crash-with-exception-in-pipelineworker/159933
The text was updated successfully, but these errors were encountered: