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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...