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 Splunk Community Dashboard Challenge!

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

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...