To install the client-side files
This tag creates a global variable called splunkjs, which is the root of the SDK. No other global variables are introduced.
To install the server-side files
npm install splunk-sdk
var splunkjs = require('splunk-sdk');
Note: This app is only required for Splunk 4.2.x or 4.3.x, or if you want to run the unit tests (with any Splunk version).
To install the xml2json app
The following examples show how to do this at the command line.
cp -r xml2json /applications/splunk/etc/apps/xml2json
Or, to create a symbolic link to the xml2json directory, enter:
On Windows: To copy the xml2json directory to the Splunk apps directory, enter:
On Mac OS X: Go to the /Applications/splunk/bin directory and enter:
On Windows: Go to the C:\Program Files\Splunk\bin directory and enter: