Dashboards & Visualizations

Removing "custom time range" from TimeRangePicker



I am creating an customized times.conf file for an app that we use. I am able to remove all of the time menus by using the disabled = true statement in each of the stanzas. I am unable to remove the custom time range menu. Also, I do not see a custom_time_range stanza in the times.conf file. Does any one know the best way to remove this menu item from the TimeRangePicker ?


Tags (1)
0 Karma

Path Finder

you can use css

for example have this in the app/appserver/static/application.css


0 Karma


I have done the same thing but It is not working. Is there any alternative for this.

0 Karma


I still have a copy of times.conf, but created directory appname/appserver/static and copied over application.css, removed all content and added li.customDateItem{display:none;}, restarted Splunk but see no difference.

0 Karma

Splunk Employee
Splunk Employee

It doesn't seem to be an option.
Your user will always be able to specify the timerange in the search.

If you want to prevent it, you have to define time limitations on their roles.

0 Karma
Get Updates on the Splunk Community!

Splunk Security Content for Threat Detection & Response, Q1 Roundup

Join Principal Threat Researcher, Michael Haag, as he walks through:An introduction to the Splunk Threat ...

Splunk Life | Happy Pride Month!

Happy Pride Month, Splunk Community! 🌈 In the United States, as well as many countries around the ...

SplunkTrust | Where Are They Now - Michael Uschmann

The Background Five years ago, Splunk published several videos showcasing members of the SplunkTrust to share ...