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
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

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!

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...