Dashboards & Visualizations

TimeRangePicker

Keith_Holme
Engager

I am new to splunk and have a question regarding the TimeRangePicker. I have wrapped a couple of SearchSelectLister modules and a SimpleResultsTable (at varying depths) within the scope of a TimeRangePicker module. When I run this module I get the data in the SimpleResultsTable constrained by the TimeRangePicker (all good). The data that fills the SearchSelectLister modules however isn't constratined to the time range selected in the TimeRangePicker.

Any pointers would be much appreciated.

Tags (1)

sideview
SplunkTrust
SplunkTrust

Im afraid that the SearchSelectLister, SearchLinkLister, SearchRadioLister do not listen to the TimeRangePicker's time range. While they all do have a param called 'applyOuterIntentionsToInternalSearch' which makes them pay attention to the 'intentions' coming down from above, there is no corresponding switch that provides the same thing for time ranges.

This has been known internally for a while at least on some level but i think it may have been lost because i cant find anything filed around it.

For now I recommend trying to get by hardwiring the timerange using the 'earliest' param and the 'latest' param on the module.

Another more heavyweight way is to use a 'switcher' module like PulldownSwitcher, and beneath that switcher write basically the same UI N different ways, each with a different hardcoded timerange. There's an example or two of how to use switcher modules in the ui_examples app.

And its possible to make a StaticSelect module that outputs time terms, and use a stringreplace intention to write the selected time term into the search string itself. This approach could also be made to work but it has a number of drawbacks.

helge
Builder

This bug is still present in Splunk 6.0.1. Unbelievable.

0 Karma
Get Updates on the Splunk Community!

Splunk Classroom Chronicles: Training Tales and Testimonials (Episode 4)

Welcome back to Splunk Classroom Chronicles, our ongoing series where we shine a light on what really happens ...

From GPU to Application: Monitoring Cisco AI Infrastructure with Splunk Observability ...

AI workloads are different. They demand specialized infrastructure—powerful GPUs, enterprise-grade networking, ...

Application management with Targeted Application Install for Victoria Experience

  Experience a new era of flexibility in managing your Splunk Cloud Platform apps! With Targeted Application ...