Splunk Search

Date input textbox format

reverse
Contributor

I want to add 2 text boxes where I can key in 2 dates. Later I want to use these 2 dates at 4 locations of my query.

earliest and latest of date1 and earliest and latest of date2

Please guide.

Tags (3)
0 Karma
1 Solution

niketn
Legend

@reverse refer to one of my older answers to use html date picker with jQuery to enable click handler

https://answers.splunk.com/answers/627432/jquery-datepicker-in-splunk.html

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"

View solution in original post

niketn
Legend

@reverse refer to one of my older answers to use html date picker with jQuery to enable click handler

https://answers.splunk.com/answers/627432/jquery-datepicker-in-splunk.html

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"

reverse
Contributor

format of date in text boxes will be mm/dd/yyyy

0 Karma

reverse
Contributor

the timepicker is always giving date range

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Persistent Queue at TcpOut — One of Splunk's Most Practical Features

Splunk introduced persistent queueing at the tcpout layer as one of the most practical resilience features in ...

Catalog Is Now Generally Available on Splunk Cloud Platform

A Unified View of Your Data  Security logs, application events, business data, and historical telemetry often ...

Your Path to AgenticOps: AI Experiences for Every Splunk Practitioner

Your Path to AgenticOps: AI Experiences for Every Splunk Practitioner   Watch on demand us for a demo-driven ...