Alerting

How to use tokens for PDF Delivery alerts

ASISH_9
Engager

I have an alert that runs every Tuesday at 2:30 pm.
The alert Body is as follows

Subject
“BLAH BLAH "-------the date when this alert runs

Body
Hello

Please find attached talert as on .

Regards
Asish

Now filed should dynamically appear while the alert is running, but since it is a PDF alert i am unable to bring the from PDF using token $result.Date$(I have already created the field in my alert query).

Please help

Tags (1)
0 Karma

DalJeanis
Legend

You cannot generate PDFs for forms -- that is, for dashboards or reports that have interactivity with tokens -- only for dashboards and reports. See the limits here...

http://docs.splunk.com/Documentation/SplunkCloud/6.6.3/Viz/DashboardPDFs#Limitations_to_PDF_generati...

niketn
Legend

@ASISH_9, among the default tokens for email alert, $result.<YourFieldName>$ is also available. So $result.Date$ should work if you have the same in your alert result.

Refer to the Splunk Documentatoin for all the tokens:
http://docs.splunk.com/Documentation/Splunk/latest/Alert/EmailNotificationTokens#Result_tokens

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

ASISH_9
Engager

The problem is $result.$ is not working in case of PDF Delivery alerts.
My question was is there any way to make this work?

0 Karma

ASISH_9
Engager

I also have the date field in my alert(which i am calling through token $result.Date$)...but tis not working

0 Karma
Get Updates on the Splunk Community!

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...