Alerting

How do I display results of a Splunk alert before the message content?

flufy999
New Member

I have an alert that has message content to be sent in an email:

e.g.

Message

Message info here returned about the alert

When the alert triggers the message info is returned followed by the alert.

How do i get the alert info to be returned and the message info (in the message box) to be displayed please?

So

alert 1 results

followed by message info

not:

message

followed by an alert

0 Karma

cmerriman
Super Champion

I think one of the only things you can do is to just add a token into your message body that adds more information about the alert (like $result.fieldname$), but it wouldn't really be swapping them around.
http://docs.splunk.com/Documentation/Splunk/6.5.2/Alert/EmailNotificationTokens

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

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 GA in US-AWS!

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