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
Get Updates on the Splunk Community!

Announcing the Expansion of the Splunk Academic Alliance Program

The Splunk Community is more than just an online forum — it’s a network of passionate users, administrators, ...

Learn Splunk Insider Insights, Do More With Gen AI, & Find 20+ New Use Cases You Can ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Buttercup Games: Further Dashboarding Techniques (Part 7)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...