Dashboards & Visualizations

add datetime using href when exporting results.

efaundez
Path Finder

Good afternoon

Currently I have a dashboard that shows the events in a table and then they are exported to a .csv file

Can I add the date and time in the file name?

I attach the example.

 

<html>
       <a class="btn btn-primary" role="button" href="/api/search/jobs/$export_sid_task$/results?isDownload=true&amp;timeFormat=%25FT%25T.%25Q%25%3Az&amp;maxLines=0&amp;count=0&amp;filename=SDESK-all_tasks<date>_<time>.csv&amp;outputMode=csv">Download CSV</a>
      </html>

 

Greetings.

Labels (2)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

How about using a token to store the date and time and use that?

0 Karma

efaundez
Path Finder

Good afternoon, thanks for your answer, that had not occurred to me, I will validate and let you know how I'm doing.

0 Karma
Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  &#x1f680; Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...