Dashboards & Visualizations

Override setting in simple xml? (ver 5)



When you set the time ticker with "<input type = time xxxx" in dashboard
and also set the time modifier in "<searchTemplate" for each panel,
is it correct to understand the setting in each panel overrides the setting in the fieldset?

process=" " Yesterday
Syslog event count per processname sourcetype=syslog earliest=@y $process$ | stats count by process
Syslog event list sourcetype=syslog earliest=@y $process$

I did a test and seems that each setting in the panel is prioritized within splunk.


Tags (2)
0 Karma


Yes, I think it basically the time range which is set on search directly takes precedence in version 5.
However, if you set the time earlier than the one on the search, it doesn't follow the time range which is set in the search.
Here is my result.
Search: earliest=-7d@d latest=@d index=A sourcetype=B | timechart count by type

  1. timerange picker: All time -> takes time from search string = -7d
  2. timerange picker: Last 7days -> same result
  3. timerange picker: Last 24hous -> timerange was last 7days but it broke into every 30mins span on each day, and I got the following message, "Search generated too much data for the current display configuration, results have been truncated."
  4. timerange picker: Last 4hours -> same timerange but span changed to every 5mins.
  5. timerange picker: Last 60minutes -> same timerange but span changed to every minute.

I hope it helps you a bit.

0 Karma


Hello appleman.

Thanks for taking your time. I appreciate your time.

My plan is to specify "All time" in search and
specify flexible time from the time ticker.

Goal is to fetch all the event from index for specific sub search.

I will take a look as well.

0 Karma

Tune In & Win!

Don't miss out on your
chance to take home free
prizes by helping our players
save the Splunk Cloudom!

Dungeons & Data
Monsters: Splunk O11y
Day Editions Games
stream live:
5/4 at 6:30pm PST
5/5 at 7:00pm PST