Splunk includes Node.js in the bin directory. If you have an older version, update it to v10.10.0 or later.
- Download the latest version of Node.js.
- Copy Node.js to the Splunk bin directory.
-
Do one of the following:
- Run npm install before running the script.
- Edit the script to match your version of Node.js.