Hello!

We have a standard email callback configuration:


   body: 
   ##########
   Alert Description: ${check_result.resultDescription}
   Date: ${check_result.triggeredAt}
   Stream ID: ${stream.id}
   Stream title: ${stream.title}
   Stream description: ${stream.description}
   ${if stream_url}Stream URL: ${stream_url}${end}
   Triggered condition: ${check_result.triggeredCondition}
   ##########
   ${if backlog}Last messages accounting for this alert:
   ${foreach backlog message}${message}
   ${end}${else}<No backlog>
   ${end} 
   
   sender: 
   graylog@***
   
   subject: 
   Graylog alert for stream: ${stream.title}: ${check_result.
   resultDescription}
   
   

Everything works fine, except that ${message} contain question marks 
instead of cyrillic symbols.

>From graylog stream documentation:

message (only available via iteration over the backlog object)
> The message object has several fields with details about the message. When 
> using the message object without accessing any fields, the toString() 
> method of the underlying Java object is used to display it.


I think that problem is in the toString() method, that doesn't work with 
unicode.

Is there any way to solve this problem? JMTE magic maybe?

Thanks in advance.

Alexander.


-- 
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/53519954-d73e-4351-b3b9-3300a06b94af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to