- To demonstrate the 3 methods on importing external JavaScript to your Splunk dashboard in version 6+
- This demo app will be importing the Bootstrap Switch code
- You must rename the app folder from
splunk_import
tohobbes3_import
for all the JavaScript to work (don't forget to restart Splunk)
- For this case, I didn't need to directly require jQuery in RequireJS since Bootstrap Switch loads jQuery and "exports" the same global variable
$
- Itay Neeman
- David Foster
- Mathew Elting
- Vladimir Skoryk