Dashboards & Visualizations

How to use dashboard tokens in scheduled PDF delivery

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.

Labels (1)
0 Karma

Communicator

Did you have any update on this?

0 Karma
State of Splunk Careers

Access the Splunk Careers Report to see real data that shows how Splunk mastery increases your value and job satisfaction.

Find out what your skills are worth!