Splunk Search

Is there an input that only selects whole dates (not dates and times)?

sillingworth
Path Finder

I want my users only to be able to select entire days, not certain hours and minutes. Is there an input type that does this?

0 Karma
1 Solution

493669
Super Champion

Hi @sillingworth,
You can create css which will hide other time range options:
just add css file in <app_name>/appserver/static folder

div[id^='daterange_view'],
 div[id^='advanced_view'],
 div[id^='relative_view'],
 div[id^='realtime_view'] {
     display: none;
 }

See the solutions in below post to customize time range picker

https://answers.splunk.com/answers/222650/limit-choices-in-default-timepicker.html

View solution in original post

493669
Super Champion

Hi @sillingworth,
You can create css which will hide other time range options:
just add css file in <app_name>/appserver/static folder

div[id^='daterange_view'],
 div[id^='advanced_view'],
 div[id^='relative_view'],
 div[id^='realtime_view'] {
     display: none;
 }

See the solutions in below post to customize time range picker

https://answers.splunk.com/answers/222650/limit-choices-in-default-timepicker.html

sillingworth
Path Finder

Oooh, of course! That's a very good idea. Thanks 🙂

alt text

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...