Getting Data In

btool installation on windowds

pm11
Engager

Hi 

i would like to know how to install btool on windows and can you please tell how to locate the file. 

i was trying to open in windows as an administrator and I could get the results.

C:\Program Files\Splunk\bin>splunk btool inputs list
'splunk' is not recognized as an internal or external command,
operable program or batch file.

C:\Program Files\Splunk\bin>splunk cmd transfors list
'splunk' is not recognized as an internal or external command,
operable program or batch file.

i used Thes commands and i was not able to get please help me out here.

Labels (1)
0 Karma

inventsekar
SplunkTrust
SplunkTrust

>>> i would like to know how to install btool on windows
when we install Splunk, the btool automatically installs with the installation. From your question i understand that you are looking for "how to run btool on windows".

>>> i was trying to open in windows as an administrator and I could get the results.
Just to make sure you are running the cmd prompt with admin rights, pls check if the top left on cmd prompt shows as "Administrator: Command Prompt"

>>> C:\Program Files\Splunk\bin>splunk btool inputs list
'splunk' is not recognized as an internal or external command,
operable program or batch file.

Please suggest us, if you installed splunk on the default path or did you install on custom path. thanks. 

thanks and best regards,
Sekar

PS - If this or any post helped you in any way, pls consider upvoting, thanks for reading !

tscroggins
Influencer

The commands you want are:

splunk cmd btool inputs list

splunk cmd btool transforms list

However, splunk.exe is either missing or inaccessible in the context of your cmd.exe process. Are you running as Administrator, and does Administrator or the Administrators group have basic Read & Execute permissions on C:\Program Files\Splunk\bin and C:\Program Files\Splunk\bin\splunk.exe?

inventsekar
SplunkTrust
SplunkTrust

Hi, 

Just thought to update you(and all others), as per the doc https://docs.splunk.com/Documentation/Splunk/9.1.2/Troubleshooting/Usebtooltotroubleshootconfigurati...

the right command is:

splunk btool inputs list

 thanks. 

thanks and best regards,
Sekar

PS - If this or any post helped you in any way, pls consider upvoting, thanks for reading !
0 Karma

tscroggins
Influencer

Ha (at myself). I've been using "splunk cmd btool" for over a decade and never noticed that "splunk btool" was added as a shortcut in 7.2.

0 Karma

isoutamo
SplunkTrust
SplunkTrust

This said that command splunk is not recognized. You could try 

.\splunk.exe btool ....

on that directory.

 

Get Updates on the Splunk Community!

Buttercup Games Tutorial Extension - part 9

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Buttercup Games Tutorial Extension - part 8

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Introducing the Splunk Developer Program!

Hey Splunk community! We are excited to announce that Splunk is launching the Splunk Developer Program in ...