Dashboards & Visualizations

How to use JQuery DateTime Picker in Splunk XML Form?

shannu1241
New Member

I am pretty new to Splunk.

Can someone help me in adding a JQuery DateTime picker to my Splunk XML Form.
I have a textbox. When I click on the text box, the DateTime Picker should appear.

Can someone help me in this..

Thanks

0 Karma

paramagurukarth
Builder

Create a Custom Module...
http://docs.splunk.com/Documentation/Splunk/6.2.3/Module/Createacustommodule
You can use the jQueryUI available inisde splunk.. it is exposed in

/static/css/jqueryui/jquery.ui.resizable.css
/static/js/contrib/jquery-ui-1.10.4.min.js

Version mar vary based on the version of splunk that you use..
Please have a look into Splunk\share\splunk\search_mrsparkle\exposed\js (in your splunk instance folder 🙂 )

0 Karma

dlee360
Explorer

I think I know the answer, but why don't you want the built-in timerange picker?

0 Karma

gyslainlatsa
Motivator

hi,
you use what version of splunk?

0 Karma

shannu1241
New Member

Splunk 6.2.1

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!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...