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!

Developer Spotlight with Paul Stout

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

State of Splunk Careers 2024: Maximizing Career Outcomes and the Continued Value of ...

For the past four years, Splunk has partnered with Enterprise Strategy Group to conduct a survey that gauges ...

Data-Driven Success: Splunk & Financial Services

Splunk streamlines the process of extracting insights from large volumes of data. In this fast-paced world, ...