I'm using the HipChat plugin to send alerts if a field value is a certain
number. I would the message to contain a URL to the message just like
clicking Permalink would generate when looking at the message. Anyone know
how to accomplish this?
Here is my message template as it stands now:
${if stream_url}<a href="${stream_url}">${end}
<strong>Alert for ${stream.title}</strong>
${if stream_url}
</a>
${end}
<i>(${check_result.triggeredCondition})</i>
<br/>
<i>${check_result.resultDescription}, triggered at
${check_result.triggeredAt}</i>
<br/>
${if backlog}Last messages accounting for this alert:<br/>
<table align="left">
<tr><th>My Field</th><th>Details</th></tr>
${foreach backlog message}<br/>
<tr>
<td><b>${message.fields.myField}</b></td>
<td><code>${message.source}, ${message.id}</code></td>
</tr>
</table>
${end}
${else}
<i>(No messages to display.)</i>
${end}
--
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/621ea03b-c79a-40ed-ad16-324e2f3375fc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.