Requirements for Splunk SDK for JavaScript

Here's what you need to get going with the Splunk SDK for JavaScript:

Splunk Enterprise

If you haven't already installed Splunk Enterprise, download it here. For more information about installing and running Splunk Enterprise and system requirements, see the Splunk Enterprise Installation Manual.

Node.js or io.js

Either Node.js or io.js is required for server-side scripting, building files, running server and client examples, running unit tests, and generating documentation. Download Node.js or io.js and install the version for your platform.

Notes
  • The current version of the Splunk SDK for JavaScript requires Node.js version 0.8.x, 0.10.x, or 0.12.x. Using the SDK with earlier versions will no longer work. If you are upgrading to the latest version of the SDK, be sure to update your install of Node.js as well.
  • Both io.js and Node.js version 0.8.x and later also include the Node Package Manager (NPM), which is required for the SDK.

Compatible browser

  • We've tested the Splunk SDK for JavaScript with the following browsers, though older browsers will probably work:

    • Apple Safari (latest)
    • Google Chrome (latest)
    • Microsoft Internet Explorer (latest) or Microsoft Edge
    • Mozilla Firefox (latest)

    JSON support

    When running in a web browser, the SDK's only dependency is JSON support. If your site supports older browsers, you might need to include JSON handling for compatibility. To learn more, see the JSON website.

    Splunk SDK for JavaScript

    For information about installing the Splunk SDK for JavaScript, see the next topic, Install the Splunk SDK for JavaScript.