Splunk Search

Unable to search using CLI

mcwomble
Path Finder

When running trying to run a search via the CLI (Redhat Linux) I get the following message:

"Splunk is not running, and it must be for this operation. To start splunk, run "splunk start"."

However the Splunk is up and running and fully functional via the Webgui. Any ideas on how to get this working?

Tags (2)
0 Karma

woodcock
Esteemed Legend

Splunk may be running but maybe not the installation-instance that you think. Use your favorite method to determine the full path of the currently running splunkd process and make sure you call splunk in that path.

0 Karma

mcwomble
Path Finder

Started by root
Ownership of $SPLUNK_HOME/var/run/splunk is root

0 Karma

bwooden
Splunk Employee
Splunk Employee

Have there been any recent configuration changes to Splunk? Which account started Splunk? Which account owns the files in $SPLUNK_HOME/var/run/splunk?

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...