Dashboards & Visualizations
Highlighted

Are there any resources on Splunk app development with Javascript?

Builder

All,

So messing with Splunk here a lot more and looking to get my skills to par. Specifically looking at app development. Thinking I should pick up some Javascript.

I'm not unfamiliar with scripting and did do JavaScript back with IE3/4 on Jscript, so I am hoping it should be easy enough to pick up.

Any books? Videos worth looking at? I was thinking of snagging a couple JavaScript 101 books from the library and just trying to apply them right inside Splunk as I learn. Thoughts on that?

0 Karma
Highlighted

Re: Are there any resources on Splunk app development with Javascript?

Influencer

Here are a couple good ones I know of:
http://dev.splunk.com/javascript
http://www.amazon.com/Building-Splunk-Solutions-Second-Developer/dp/1514615746

Also check out conf.splunk.com and under sessions you might find a few presentations about building apps with JavaScript.

View solution in original post

Highlighted

Re: Are there any resources on Splunk app development with Javascript?

SplunkTrust
SplunkTrust

The way JavaScript works within Splunk is not exactly the same as it works elsewhere on a "regular" web site. Splunk uses JS Frameworks (notably mvc, backbone, jquery, requirejs, bootstrap, etc) to perform a majority of the UI integrations and implementations.

There are two books I am aware of with specifics to Splunk App Developing:

Building Splunk Solutions http://amzn.com/1514615746
Splunk Developer's Guide http://amzn.com/1785882376

(just for transparency - I wrote the Splunk Developer's Guide 😄 )

Take a look at those, read through dev.splunk.com about a bajillion times, and ask lots of specific questions. Try doing it once or twice. Might be easier to start with a Converted Dashboard (HTML) to see some of the under lying code.

Also - you can find me on IRC (#splunk on Efnet as alacer) , The Splunk Usergroup Slack (sign up at www.splunk402.com/chat) and here on answers, among other resources.