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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...