Dashboards & Visualizations
Highlighted

How to use JQuery DateTime Picker in Splunk XML Form?

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
Highlighted

Re: How to use JQuery DateTime Picker in Splunk XML Form?

Motivator

hi,
you use what version of splunk?

0 Karma
Highlighted

Re: How to use JQuery DateTime Picker in Splunk XML Form?

New Member

Splunk 6.2.1

0 Karma
Highlighted

Re: How to use JQuery DateTime Picker in Splunk XML Form?

Explorer

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

0 Karma
Highlighted

Re: How to use JQuery DateTime Picker in Splunk XML Form?

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