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!

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, ...