Anyone that have exp about configuring email callback on Graylog, please 
advise me this case. In log that we receive have field: protocol-id.


Now I can using it in email by using syntax: ${message.fields.protocol-id}. 
But value of this filed is number. I want to change it to string. I give 
example: if (protocol-id = 17) protocol-id = 'UDP'. I try code as below but 
I don't get anything:


${if ${message.fields.protocol-id}==17}Protocol-Attack: UDP


How I can solve this case???


-- 
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/52d54b32-9cc6-416a-a0c7-48a63228ad6f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to