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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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