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!

Celebrating Fast Lane: 2025 Authorized Learning Partner of the Year

At .conf25, Splunk proudly recognized Fast Lane as the 2025 Authorized Learning Partner of the Year. This ...

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...