1. Home
  2. Transmogrifier
  3. Transmogrifier: Variable Expansion

Transmogrifier: Variable Expansion

The Transmogrifier can pull the content of an alert field into the rule, thus allowing users to dynamically update any annotation or transformation with data from the alert using the following syntax: ${{field_name}}

Variable Expansion Examples:

  • Pull the name of the affected host from the alert and add it into the URL link for your wiki documentation. (The field in the alert containing this information is “host_name”)

VariableExpansion1

  • Turn an image link provided by the monitoring tool into an annotation.

VariableExpansion2

  • Combine multiple fields into the state_message so your users get more information in their notifications, without losing the original information in that field.  (Assuming the field you want to include is “error_message”)

TransformExample3

Updated on August 21, 2018

Was this article helpful?

Related Articles