Dashboards & Visualizations

How to use dashboard tokens in scheduled PDF delivery?

poddraj
Explorer

Hi,
I am trying to add value of yesterday date in the Message of the email notification of my PDF delivery of dashboard. I have added below tags for getting yesterday date in dashboard source XML but I am unable to get the value of it in message of the email body

<search>
<query> My query</query>
<done>
        <eval token="yesterday">strftime(relative_time(now(), "-1d@d"), "%m/%d/%Y")</eval>
</done>
</search>

I am trying below to get the value of the date
$dashboard.yesterday$

Can someone help me how to get this done.

ben_ramsey
Engager

I'm trying to accomplish the same thing. Were you able to come up with a solution?

0 Karma

ortiz
Explorer

Any response for this?

0 Karma

jaime_ramirez
Communicator

Did you have any update on this?

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...