You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
warning: thread "[main]>worker0" terminated with exception (report_on_exception is true):
java.lang.StackOverflowError
at usr.share.logstash.logstash_minus_core.lib.logstash.codecs.base.encode(/usr/share/logstash/logstash-core/lib/logstash/codecs/base.rb:48)
at usr.share.logstash.logstash_minus_core.lib.logstash.codecs.base.multi_encode(/usr/share/logstash/logstash-core/lib/logstash/codecs/base.rb:64)
at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1820)
at usr.share.logstash.logstash_minus_core.lib.logstash.codecs.base.multi_encode(/usr/share/logstash/logstash-core/lib/logstash/codecs/base.rb:64)
at usr.share.logstash.logstash_minus_core.lib.logstash.codecs.base.encode(/usr/share/logstash/logstash-core/lib/logstash/codecs/base.rb:48)
at usr.share.logstash.logstash_minus_core.lib.logstash.codecs.base.multi_encode(/usr/share/logstash/logstash-core/lib/logstash/codecs/base.rb:64)
at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1820)
because in codec/base.rb encode calls multi_encode, which calls encode.
Personally I think the netflow codec should be modified to add an encode method which throws an exception saying "You cannot use this codec on an output".
The text was updated successfully, but these errors were encountered:
Thanks for the report, indeed the base class assumed the codec to override multi_encode or encode.
Personally I think the netflow codec should be modified to add an encode method which throws an exception saying "You cannot use this codec on an output".
logstash 7.15.2, installed using yum, run from the command line. The following configuration
results in
because in codec/base.rb encode calls multi_encode, which calls encode.
Personally I think the netflow codec should be modified to add an encode method which throws an exception saying "You cannot use this codec on an output".
The text was updated successfully, but these errors were encountered: