Log Server randomly crashes
Posted: Tue Sep 04, 2018 8:20 am
Hi: We have been having an intermittent issue where the logstash process keeps running but when you check the status it says (exited) and no logs are being added to the indexes. The log is throwing this issue:
{:timestamp=>"2018-08-24T02:46:35.489000-0400", :message=>"Exception in pipelineworker, the pipeline stopped processing new events, please check your filter configuration and restart Logstash.", "exception"=>#<NoMethodError: undefined method `>=' for nil:NilClass>, "backtrace"=>["(eval):7667:in `initialize'", "org/jruby/RubyArray.java
in `each'", "(eval):7665:in `initialize'", "org/jruby/RubyProc.java:281:in `call'", "(eval):7685:in `initialize'", "org/jruby/RubyArray.java
in `each'", "(eval):7679:in `initialize'", "org/jruby/RubyProc.java:281:in `call'", "(eval)
in `filter_func'", "/usr/local/nagioslogserver/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.1-java/lib/logstash/pipeline.rb:267:in `filter_batch'", "org/jruby/RubyArray.java
in `each'", "org/jruby/RubyEnumerable.java:852:in `inject'", "/usr/local/nagioslogserver/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.1-java/lib/logstash/pipeline.rb:265:in `filter_batch'", "/usr/local/nagioslogserver/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.1-java/lib/logstash/pipeline.rb:223:in `worker_loop'", "/usr/local/nagioslogserver/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.1-java/lib/logstash/pipeline.rb:201:in `start_workers'"], :level=>:error}
I am not sure where to start with this, as I don't see why it would work for periods of weeks and then randomly stop working complaining about a filter. Thanks!
{:timestamp=>"2018-08-24T02:46:35.489000-0400", :message=>"Exception in pipelineworker, the pipeline stopped processing new events, please check your filter configuration and restart Logstash.", "exception"=>#<NoMethodError: undefined method `>=' for nil:NilClass>, "backtrace"=>["(eval):7667:in `initialize'", "org/jruby/RubyArray.java
I am not sure where to start with this, as I don't see why it would work for periods of weeks and then randomly stop working complaining about a filter. Thanks!