Dashboards & Visualizations

Time Picker Based on stacked graph

alisonchicoria
New Member

Hi Guys.
I have a dashboard that show my HTTP errors in percentage way and at my side a Statistics Table that show the absolute values, what i want is that the time picker of the Statistics Table become related the zoom of the stacked graph dashboard, so when the user zoom the graph, the table automatic update the events to show that period of time.
How can i do it?

0 Karma

niketn
Legend

You can code selection event handler for chart to achieve this

            <selection>
                <set token="selection.earliest">$start$</set>
                <set token="selection.latest">$end$</set>
            </selection>

Then use above selection.earliest and selection.latest as the earliest and latest time for the table search.

                <earliest>$selection.earliest$</earliest>
                <latest>$selection.latest$</latest>

Please refer to Pan and Zoom Chart Controls example on Splunk 6.x Dashboard Examples App

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma
Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...