Hi Folks, - Graylog2 version v0.90.1
Can someone explain how to use the new GELF Output option, to send messages to another server. Does the receiving server need a GELF Input or can this be a Syslog input (514) for example ? Anyway I tried using this against another Graylog2 node with a running GELF Input (tcp/12201) and I get the following issue : 2014-10-27T14:37:47.989+11:00 ERROR [FatalExceptionHandler] Exception processing: 11 org.graylog2.plugin.buffers.MessageEvent@1e1c1712 com.google.common.util.concurrent.UncheckedExecutionException: java.lang.NumberFormatException: null at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2201) at com.google.common.cache.LocalCache.get(LocalCache.java:3934) at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3938) at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4821) at org.graylog2.outputs.CachedOutputRouter.getMessageOutputsForStream(CachedOutputRouter.java:70) at org.graylog2.outputs.OutputRouter.getOutputsForMessage(OutputRouter.java:63) at org.graylog2.buffers.processors.OutputBufferProcessor.onEvent(OutputBufferProcessor.java:120) at org.graylog2.buffers.processors.OutputBufferProcessor.onEvent(OutputBufferProcessor.java:48) at com.lmax.disruptor.BatchEventProcessor.run(BatchEventProcessor.java:133) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NumberFormatException: null at java.lang.Integer.parseInt(Integer.java:454) at java.lang.Integer.parseInt(Integer.java:527) at org.graylog2.outputs.GelfOutput.buildTransport(GelfOutput.java:79) at org.graylog2.outputs.GelfOutput.initialize(GelfOutput.java:56) at org.graylog2.outputs.OutputRegistry.launchOutput(OutputRegistry.java:80) at org.graylog2.outputs.OutputRegistry.getOutputForId(OutputRegistry.java:63) at org.graylog2.outputs.OutputRouter.getMessageOutputsForStream(OutputRouter.java:49) at org.graylog2.outputs.CachedOutputRouter.superGetMessageOutputsForStream(CachedOutputRouter.java:78) at org.graylog2.outputs.CachedOutputRouter.access$000(CachedOutputRouter.java:36) at org.graylog2.outputs.CachedOutputRouter$1.load(CachedOutputRouter.java:61) at org.graylog2.outputs.CachedOutputRouter$1.load(CachedOutputRouter.java:58) at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3524) at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2317) at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2280) at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2195) ... 11 more Exception in thread "outputbufferprocessor-2" java.lang.RuntimeException: com.google.common.util.concurrent.UncheckedExecutionException: java.lang.NumberFormatException: null at com.lmax.disruptor.FatalExceptionHandler.handleEventException(FatalExceptionHandler.java:45) at com.lmax.disruptor.BatchEventProcessor.run(BatchEventProcessor.java:152) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: com.google.common.util.concurrent.UncheckedExecutionException: java.lang.NumberFormatException: null at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2201) at com.google.common.cache.LocalCache.get(LocalCache.java:3934) at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3938) at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4821) at org.graylog2.outputs.CachedOutputRouter.getMessageOutputsForStream(CachedOutputRouter.java:70) at org.graylog2.outputs.OutputRouter.getOutputsForMessage(OutputRouter.java:63) at org.graylog2.buffers.processors.OutputBufferProcessor.onEvent(OutputBufferProcessor.java:120) at org.graylog2.buffers.processors.OutputBufferProcessor.onEvent(OutputBufferProcessor.java:48) at com.lmax.disruptor.BatchEventProcessor.run(BatchEventProcessor.java:133) ... 3 more Caused by: java.lang.NumberFormatException: null at java.lang.Integer.parseInt(Integer.java:454) at java.lang.Integer.parseInt(Integer.java:527) at org.graylog2.outputs.GelfOutput.buildTransport(GelfOutput.java:79) at org.graylog2.outputs.GelfOutput.initialize(GelfOutput.java:56) at org.graylog2.outputs.OutputRegistry.launchOutput(OutputRegistry.java:80) at org.graylog2.outputs.OutputRegistry.getOutputForId(OutputRegistry.java:63) at org.graylog2.outputs.OutputRouter.getMessageOutputsForStream(OutputRouter.java:49) at org.graylog2.outputs.CachedOutputRouter.superGetMessageOutputsForStream(CachedOutputRouter.java:78) at org.graylog2.outputs.CachedOutputRouter.access$000(CachedOutputRouter.java:36) at org.graylog2.outputs.CachedOutputRouter$1.load(CachedOutputRouter.java:61) at org.graylog2.outputs.CachedOutputRouter$1.load(CachedOutputRouter.java:58) at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3524) at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2317) at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2280) at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2195) ... 11 more Any new messages are not received after this until delete this GELF output and restart Graylog2 server. The STDOUT output opetion works fine and messages are seen in the server.log. Anything I need to review, docs to read? Cheers, Marty -- You received this message because you are subscribed to the Google Groups "graylog2" group. To unsubscribe from this group and stop receiving emails from it, send an email to graylog2+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.