Splunk Search

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

jboike
Explorer

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

Tags (2)
0 Karma

ChrisG
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

MuS
Legend

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

Richfez
SplunkTrust
SplunkTrust

MuS, you are amazing. 🙂

richgalloway
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, Karma would be appreciated.
Get Updates on the Splunk Community!

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...

Splunk App Developers | .conf25 Recap & What’s Next

If you stopped by the Builder Bar at .conf25 this year, thank you! The retro tech beer garden vibes were ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...