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!

Easily Improve Agent Saturation with the Splunk Add-on for OpenTelemetry Collector

Agent Saturation What and Whys In application performance monitoring, saturation is defined as the total load ...

Explore the Latest Educational Offerings from Splunk [January 2025 Updates]

At Splunk Education, we are committed to providing a robust learning experience for all users, regardless of ...

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...