Installation

run splunk commands from linux home

splunkcol
Builder

Hello,

As everyone already knows the splunk commands like ./splunk status it is only possible to do it from the splunk OPT folder

I saw a video where someone executes that splunk status command without being in the Splunk OPT folder, could you tell me how to do it?

Thank you

Labels (1)
1 Solution

isoutamo
SplunkTrust
SplunkTrust

Hi

in linux there are three options for this. Use full path with command like /opt/splunk/bin/splunk or add that directory to your PATH like PATH=/opt/splunk/bin:${PATH} And third option is make an alias for splunk command which point to full path.

You should read more about using Linux command line to understand those better.

r. Ismo

View solution in original post

isoutamo
SplunkTrust
SplunkTrust

Hi

in linux there are three options for this. Use full path with command like /opt/splunk/bin/splunk or add that directory to your PATH like PATH=/opt/splunk/bin:${PATH} And third option is make an alias for splunk command which point to full path.

You should read more about using Linux command line to understand those better.

r. Ismo

Get Updates on the Splunk Community!

Modern way of developing distributed application using OTel

Recently, I had the opportunity to work on a complex microservice using Spring boot and Quarkus to develop a ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had 3 releases of new security content via the Enterprise Security ...

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...