Archive

As a beginner, how do I actually get to the Splunk CLI to put commands in ?

Explorer

As a beginner, how do I actually get to the Splunk CLI to put commands in ?

Tags (2)
0 Karma

Splunk Employee
Splunk Employee

See About the CLI in the Admin Manual.

Briefly:

  1. Add $SPLUNK_HOME/bin to your path.
  2. Invoke CLI commands with ./splunk commandName

SplunkTrust
SplunkTrust

or you install this app https://splunkbase.splunk.com/app/1607/ and access it in the Splunk UI without worrying where to cd to 😉 You will be directly in the right place and can start using the cli as Splunk user...

cheers, MuS

SplunkTrust
SplunkTrust

MuS, you are amazing. 🙂

SplunkTrust
SplunkTrust

You need a shell account on the server on which Splunk runs (Windows, Linux). You also need permission to run Splunk (SPLUNK_HOME/bin/splunk).

---
If this reply helps you, an upvote would be appreciated.