Alerting

Can we add specific text in Alerts

xvxt006
Contributor

Hi,

We would like to add alert specific contextual information. is it possible to modify each alert to have custom text in there?

Tags (2)
0 Karma
1 Solution

ChrisG
Splunk Employee
Splunk Employee

If you are using the alert to send an email, you can customize the email message with any text you want, as well as tokens to include variables from the search that generated the alert. See Set up alert actions > Email notification in the Alerting Manual.

View solution in original post

stephane_cyrill
Builder

You can create a contextual message for your alert and populate the event corresponding to the alert and the message in and index where you will go and retrieve them after.

to do that you have to buid your alert like this:

|Eval message= or < if(.......) > |table message otherfields|collect index youIndex

after setting your alert as you like where the alert will be triggered, you will have it in yourIndex with your message.

stephane_cyrill
Builder

feel free to vote and accept .....

0 Karma

ChrisG
Splunk Employee
Splunk Employee

If you are using the alert to send an email, you can customize the email message with any text you want, as well as tokens to include variables from the search that generated the alert. See Set up alert actions > Email notification in the Alerting Manual.

xvxt006
Contributor

Nice...Thank you..

0 Karma

stephanefotso
Motivator

Only if you want to send an email message, you can add a message

SGF
0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...