Alert Email Template link to the messages


(simple cartoon) #1

Hi,
Here is my template

##########################################################
Alert Description: ${check_result.resultDescription}
Date: ${check_result.triggeredAt}
Alert Condition Title: ${alertCondition.title}
${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}
#############################################################

and email message.

#############################################################
Alert Description: Stream received messages matching <Source:WebAPIAccessLogs> (Current grace time: 1 minutes)
Date: 2018-03-20T23:10:00.503Z
Stream ID: 5aad1a4de251830479b18711
Stream title: DevelopmentLogs Stream
Stream description: All the Development Application Logs will be Streamed to Alert Condition Title: APIAccessLogs Stream URL: http://abc.com:9000/streams/5aad1a4de251830479b18711/messages?rangetype=absolute&from=2018-03-20T23:05:00.503Z&to=2018-03-20T23:10:00.503Z&q=*

Triggered condition: 2d3b7e19-c1ef-4141-825e-86c89ae67e0a:com.alexjck.plugins.delorean.alerts.DeloreanAlertCondition={query: Source:WebAPIAccessLogs, grace: 1, backtime: 3, repeat notifications: false}, stream:={5aad1a4de251830479b18711: "DevelopmentLogs Stream"} ##########

#############################################

The issue i have with the above setting is that the message that is generated is with absolute time frame but with wildcard entry in to query parameters.

Please let me know if this is possible or not.


(Jochen) #2

For reference:


(system) #3

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.