Splunk Search

Splunk is not recognized as internal or external command

silwalsuraj
New Member

Hi
I am trying to control Splunk from windows Prompt but it shows me the above statement,” SPLUNK IS NOT RECOGNIZED AS INTERNAL OR EXTERNAL COMMAND.”
How do i take control over it via windows prompt?

Tags (1)
0 Karma
1 Solution

PavelP
Motivator

try:

"C:\Program Files\Splunk\bin\splunk" help

if it works then you need to add "\Program Files\Splunk\bin" to your %PATH environment variable to be able run splunk command without specifying the full path. Alternatively you can just type the full path (as above) every time you run splunk command.

If it doesn't work then you've installed Splunk on other drive (D:?), in other folder or the installation is corrupt. You can deinstall Splunk and install it again with default options (follow the installation manual 1:1: https://docs.splunk.com/Documentation/Splunk/8.0.1/Installation/InstallonWindows). At the end of the installation you should see a confirmation screen/window that the installation was successfull. You also have to see a running splunk service in services (services.msc).

View solution in original post

PavelP
Motivator

try:

"C:\Program Files\Splunk\bin\splunk" help

if it works then you need to add "\Program Files\Splunk\bin" to your %PATH environment variable to be able run splunk command without specifying the full path. Alternatively you can just type the full path (as above) every time you run splunk command.

If it doesn't work then you've installed Splunk on other drive (D:?), in other folder or the installation is corrupt. You can deinstall Splunk and install it again with default options (follow the installation manual 1:1: https://docs.splunk.com/Documentation/Splunk/8.0.1/Installation/InstallonWindows). At the end of the installation you should see a confirmation screen/window that the installation was successfull. You also have to see a running splunk service in services (services.msc).

to4kawa
Ultra Champion
0 Karma
Get Updates on the Splunk Community!

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

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...