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, Reuse: Word-play

This puzzle series (first published here) is based on analysing words.Some of the statements in your puzzle ...

Tuning Edge Processor in Hybrid Mode: What Limits Each Data Path

When you run Edge Processor in hybrid mode, alongside a Splunk heavy forwarder on the same host, two questions ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...