Splunk ITSI

Splunk IT Service Intelligence: Notable Event Policy Email Tokens

andykoopa
New Member

Hi,

I am trying to include a url for a report in my notable event email. I would like the url to use the result time token as the latest field, and the time-60m as the earliest. So that if I check the email hours later I can still see the report from the events time frame.

Example url in email message body:
Report:
https://blahblahblahReport&earliest=&amplatest=

I have tried:
https://blahblahblahReport&earliest=$result._time$-60m&amplatest=$result._time$
AND
https://blahblahblahReport&earliest=$result._time-60m$&amplatest=$result._time$

But they do not seem to work. The result._time value itself is fine, it is a matter of doing the result._time-60m for earliest. If I hard code the values it works so I know it is possible with the configured report.

Has anyone had experience in doing this? I appreciate the time and help 🙂

-Andy

0 Karma

esnyder_splunk
Splunk Employee
Splunk Employee

Hi Andy, here are the docs for configuring tokens in emails. If this doesn't help, please let me know how we can enhance the docs https://docs.splunk.com/Documentation/ITSI/latest/User/Setupandrunnotableeventactions#Send_an_email

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Rethinking Zero Trust: From Product Purchases to Logical Control Evidence

Implementing Zero Trust (ZT) across complex environments often falters at the very beginning due to a ...

Preparing your Splunk Environment for OpenSSL3

The Splunk platform will transition to OpenSSL version 3 in a future release. Actions are required to prepare ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...