Using event tags in Event Monitors

In Event Monitors, you can use the tags sent with events to identify events and customize the actions and messages of the Monitor. First, define the search parameters for the full text event search.  If you are looking for a specific tag, you can include this in the search as well.  For example:
My Example Event #example-tag

Note:  You may have to escape special characters using a forward slash when searching.  For example, if you wanted to search for the string "my_tag_name", you would need to use "my/_tag/_name"

define_event.png

You can then use event.tags and event.tags.tagname to retrieve the values of your tags in markdown.  For example:

whats_happening.png

You should then see that your alert triggers when any matching events are found in Datadog and the tags appear in the message.

triggered_event.png

 

Have more questions? Submit a request

0 Comments

Article is closed for comments.
Powered by Zendesk