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!

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...