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!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...