Dashboards & Visualizations

How to get time with dashboard?

kobon
Explorer

Hello,
I am interested in one question. There is a dashboard over time and it is created according to the example | timechart. How can I edit XML or write JS to get the time of the selected event (for example, through click.value2), or select the time range from this panel and write it in token?
thank

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi
I think that you should install and see the Splunk Dashboard Examples App ( https://splunkbase.splunk.com/app/1603/ ).
In this appa there are many useful examples, and one "Pan and Zoom Chart Controls" that describes how to implement time controls in a dashboard.

Bye.
Giuseppe

0 Karma
Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

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