[dev.icinga.com #10903] GELF multi-line output #3805
This issue has been migrated from Redmine: https://dev.icinga.com/issues/10903
Created by akrus on 2015-12-22 13:47:39 +00:00
We have an issue here with GELF multi-line output.
This dummy check:
but in Graylog we see:
I think full_message should instead contain both message+full_message and with correct line breaks.
2016-08-09 07:51:17 +00:00 by (unknown) 451cd73
The text was updated successfully, but these errors were encountered:
Updated by mariussturm on 2016-03-18 22:56:54 +00:00
The problem is the use of 'CompatUtility::GetCheckResultLongOutput' for the GELF full_message field.
short_message: as is right now (only first line + escaped)
looks best in my opinion. I have appended a screenshot of that, (short_message: "Connection refused", full_message: "Connection refused\nHTTP CRITICAL - Unable to open TCP socket")
Here is the change for this: