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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...