Access the CLI
The Splunk Enterprise CLI is located in the $SPLUNK_HOME/bin directory of the Splunk Enterprise installation. On Windows machines, the CLI appears in the %SPLUNK_HOME%\bin directory.
You can find the Splunk Enterprise installation path on your instance through Splunk Web by clicking Settings > Server settings > General settings.
To access the Splunk Enterprise CLI, you must have:
- A shell prompt, command prompt, or PowerShell session
- Access to a Splunk platform instance or forwarder, or
- Permission to access the correct port on a remote Splunk Enterprise instance.