It actually never gave me an error about bad XML format, but you're right, it might be wrong.
So I tried this and now I have a huge error in the log, and I can't figure out what it is about.
[ERROR][logstash.pipeline ] xedModeIRMethod.java:95)",
"org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)",
"org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)",
"org.jruby.ir.instructions.CallBase.interpret(CallBase.java:428)",
"org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:355)",
"org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)",
"org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:132)",
"org.jruby.runtime.MixedModeIRBlockBody.commonYieldPath(MixedModeIRBlockBody.java:148)",
"org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:186)",
"org.jruby.runtime.BlockBody.yield(BlockBody.java:116)",
"org.jruby.runtime.Block.yield(Block.java:165)", "org.jruby.RubyHash$12.visit(RubyHash.java:1362)",
"org.jruby.RubyHash$12.visit(RubyHash.java:1359)",
"org.jruby.RubyHash.visitLimited(RubyHash.java:662)",
"org.jruby.RubyHash.visitAll(RubyHash.java:647)",
"org.jruby.RubyHash.iteratorVisitAll(RubyHash.java:1319)",
"org.jruby.RubyHash.each_pairCommon(RubyHash.java:1354)",
"org.jruby.RubyHash.each(RubyHash.java:1343)",
"org.jruby.RubyHash$INVOKER$i$0$0$each.call(RubyHash$INVOKER$i$0$0$each.gen)",
"org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:498)",
"org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)",
"org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)",
"org.jruby.ir.instructions.CallBase.interpret(CallBase.java:428)",
"org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:355)",
"org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)",
"org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:83)",
"org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:179)",
"org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:165)",
"org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:171)",
"org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:177)",
"usr.share.logstash.logstash_minus_core.lib.logstash.filters.base.invokeOther4:filter(/usr/share/logstash/logstash-core/lib/logstash/filters/base.rb:145)",
"usr.share.logstash.logstash_minus_core.lib.logstash.filters.base.RUBY$method$do_filter$0(/usr/share/logstash/logstash-core/lib/logstash/filters/base.rb:145)",
"org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:103)",
"org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:163)",
"org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:171)",
"org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:177)",
"usr.share.logstash.logstash_minus_core.lib.logstash.filters.base.invokeOther4:do_filter(/usr/share/logstash/logstash-core/lib/logstash/filters/base.rb:164)",
"usr.share.logstash.logstash_minus_core.lib.logstash.filters.base.RUBY$block$multi_filter$1(/usr/share/logstash/logstash-core/lib/logstash/filters/base.rb:164)",
"org.jruby.runtime.CompiledIRBlockBody.yieldDirect(CompiledIRBlockBody.java:156)",
"org.jruby.runtime.BlockBody.yield(BlockBody.java:114)",
"org.jruby.runtime.Block.yield(Block.java:165)", "org.jruby.RubyArray.each(RubyArray.java:1734)",
"org.jruby.RubyArray$INVOKER$i$0$0$each.call(RubyArray$INVOKER$i$0$0$each.gen)",
"org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:139)",
"org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:145)",
"usr.share.logstash.logstash_minus_core.lib.logstash.filters.base.invokeOther7:each(/usr/share/logstash/logstash-core/lib/logstash/filters/base.rb:161)",
"usr.share.logstash.logstash_minus_core.lib.logstash.filters.base.RUBY$method$multi_filter$0(/usr/share/logstash/logstash-core/lib/logstash/filters/base.rb:161)",
"org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:103)",
"org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:163)",
"org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:200)",
"org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:161)",
"usr.share.logstash.logstash_minus_core.lib.logstash.filter_delegator.invokeOther10:multi_filter(/usr/share/logstash/logstash-core/lib/logstash/filter_delegator.rb:47)",
"usr.share.logstash.logstash_minus_core.lib.logstash.filter_delegator.RUBY$method$multi_filter$0(/usr/share/logstash/logstash-core/lib/logstash/filter_delegator.rb:47)",
"org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:103)",
"org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:163)",
"org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:200)",
"org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:161)",
"org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:314)",
"org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)",
"org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:132)",
"org.jruby.runtime.MixedModeIRBlockBody.commonYieldPath(MixedModeIRBlockBody.java:148)",
"org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:186)",
"org.jruby.runtime.BlockBody.yield(BlockBody.java:116)",
"org.jruby.runtime.Block.yield(Block.java:165)", "org.jruby.RubyArray.each(RubyArray.java:1734)",
"org.jruby.RubyArray$INVOKER$i$0$0$each.call(RubyArray$INVOKER$i$0$0$each.gen)",
"org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:498)",
"org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:298)",
"org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)",
"org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)",
"org.jruby.ir.instructions.CallBase.interpret(CallBase.java:428)",
"org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:355)",
"org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)",
"org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:132)",
"org.jruby.runtime.MixedModeIRBlockBody.commonYieldPath(MixedModeIRBlockBody.java:148)",