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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...