Hi Alexandre,

that's not a GELF appender. Please use one of the logging appenders listed 
on the Graylog Marketplace <https://marketplace.graylog.org/addons?tag=java>
.

Personally, I'd recommend logstash-gelf 
<https://marketplace.graylog.org/addons/7ea104bd-519d-4140-a396-ff962314415e>
.

Cheers,
Jochen

On Thursday, 28 July 2016 15:32:52 UTC+2, Alexandre Verri wrote:
>
> Thanks Jochen.
>
> I am using this: https://github.com/logstash/logstash-logback-encoder
>
> Now the messages are being formatted as JSON, with no new lines chars.
>
> Cheers,
> Alexandre
>
> Em quinta-feira, 28 de julho de 2016 14:18:59 UTC+1, Jochen Schalanda 
> escreveu:
>>
>> Hi Alexandre,
>>
>> the Docker GELF driver only supports sending messages line-by-line to 
>> Graylog.
>>
>> If you want to receive the complete Java stack trace of an exception in 
>> one message, you should use one of the existing GELF appenders for the 
>> logging framework being used in your Java application. See 
>> https://marketplace.graylog.org/addons?tag=java for a list of GELF 
>> appenders in the Graylog Marketplace.
>>
>> Cheers,
>> Jochen
>>
>> On Thursday, 28 July 2016 13:47:55 UTC+2, Alexandre Verri wrote:
>>>
>>> I would like to know to avoid splitting Java stacktrace messages when 
>>> using GELF format.
>>>
>>> I have configured a GELF UDP input in Graylog, and sending messages from 
>>> application using Docker GELF driver.
>>>
>>> The problem is that the messages are spplited by new line chars 
>>> contained in the stacktrace, as you can see bellow:
>>>
>>>
>>> <https://lh3.googleusercontent.com/-6P4MryY-nZc/V5nw4OFqSwI/AAAAAAAANo0/tplxEDSO8CUBRklWx-GKMDvYo0dns4nQQCLcB/s1600/messages.PNG>
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/15d5acab-5077-4a61-9cd2-65c4032c6e10%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to