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!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...