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!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...