InvalidByteSequenceError: ""\xC3"" on ASCII-8BIT

Description

Hi,

I have to restart Logstash periodically. It works for several hours and suddenly it stops working with a lot of logs talking about encoding (see below).

Any idea about that ?

{:timestamp=>"2014-02-12T12:11:35.139000+0100", :message=>"Failed to flush outgoing items", :outgoing_count=>20, :exception=>#<Encoding::InvalidByteSequenceError: ""\xC3"" on ASCII-8BIT>, :backtrace=>["org/jruby/RubyString.java:7596:in `encode'", "json/ext/GeneratorMethods.java:71:in `to_json'", "file:/opt/logstash/logstash.jar!/logstash/event.rb:156:in `to_json'", "file:/opt/logstash/logstash.jar!/logstash/outputs/elasticsearch.rb:163:in `flush'", "org/jruby/RubyArray.java:1613:in `each'", "file:/opt/logstash/logstash.jar!/logstash/outputs/elasticsearch.rb:158:in `flush'", "file:/opt/logstash/logstash.jar!/stud/buffer.rb:219:in `buffer_flush'", "org/jruby/RubyHash.java:1324:in `each'", "file:/opt/logstash/logstash.jar!/stud/buffer.rb:216:in `buffer_flush'", "file:/opt/logstash/logstash.jar!/stud/buffer.rb:193:in `buffer_flush'", "file:/opt/logstash/logstash.jar!/stud/buffer.rb:112:in `buffer_initialize'", "org/jruby/RubyKernel.java:1517:in `loop'", "file:/opt/logstash/logstash.jar!/stud/buffer.rb:110:in `buffer_initialize'"], :level=>:warn}

Environment

None

Status

Assignee

Logstash Developers

Reporter

hugo lassiege

Labels

None

Fix versions

Affects versions

Priority

Configure