Lumberjack output crashing logstash


#1

hey guys,

I have courier input plugin feeding through to a lumberjack output... I'm trying to use the codec => json_lines in lumberjack, but everytime an event comes in from courier my logstash instance crashes

input {
	stdin {}
	courier{
		port => 4546
		transport => "tls"
		ssl_certificate => "path/to/cert.crt"
		ssl_key => "path/to/cert.key"
	}
}
filter {}
output {
	stdout { codec => rubydebug }

	lumberjack {
		host => "remote_host_ip"
		port => 4545
		codec => json_lines {}
	}
}

with the following error --

LogStash::Json::GeneratorError: Failed to load class 'org.jruby.RubyObject$Access4JacksonDeserializerc66a1575': com.fasterxml.jackson.module.afterburner.ser.BeanPropertyAccessor

pipline the logstash instance is fine if an event comes in from stdin. so it must be something to do with the formatting of the courier input.

any thoughts would be much appreciated! thanks


(Suyog Rao) #2

Hi, we are aware of this bug (integration with Log Courier) and are working on fixing it.

See: https://github.com/driskell/log-courier/issues/247
and https://github.com/logstash-plugins/logstash-output-elasticsearch/issues/294


#3

awesome, got it. thanks!


(system) #4