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.

Labels (1)

ortiz
Explorer

Any response for this?

0 Karma

jaime_ramirez
Communicator

Did you have any update on this?

0 Karma
Get Updates on the Splunk Community!

Dashboard Studio Challenge - Learn New Tricks, Showcase Your Skills, and Win Prizes!

Reimagine what you can do with your dashboards. Dashboard Studio is Splunk’s newest dashboard builder to ...

Introducing Edge Processor: Next Gen Data Transformation

We get it - not only can it take a lot of time, money and resources to get data into Splunk, but it also takes ...

Take the 2021 Splunk Career Survey for $50 in Amazon Cash

Help us learn about how Splunk has impacted your career by taking the 2021 Splunk Career Survey. Last year’s ...