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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...