Alert Variables
Variables are used as parameters that allow you to customize the JSON payload object of your alert notifications. These variables are used to dynamically populate specific values from the alert configuration in the notification payload. It includes things like the TriggerType that gives the current monitor status in the notification. When a notification is sent, variables are replaced with values from the alert. For example, if you specified {{Name}}
in your JSON payload, it would be replaced with the actual name of the alert in the delivered payload.
Common variables for alerts
You can use the following built-in variables when specifying the notification payload for log and metric monitors and scheduled searches. They allow you to reference specific configurations of your monitor.
The table below lists the variable descriptions along with which areas of the product you can use them.
Variables must be enclosed by double curly brackets ({{ }}
). Unresolved variables are given empty quotes ""
as a value. All variables are case-insensitive.
Variable | Description | Monitors | Scheduled Searches |
---|---|---|---|
{{Name}} | The name of the alert. In the delivered payload, this variable is replaced with the Name you assigned to the alert when you created it. | ✅ |