Getting Data In

Can not see the output of btool in windows

ddrillic
Ultra Champion

I run the following:

C:\opt\splunk\splunkforwarder\bin>splunk btool inputs list > ..\btool.text

And I get an empty file. Why?

Tags (4)
0 Karma
1 Solution

mdsnmss
SplunkTrust
SplunkTrust

I don't get results unless I run as admin. You should also specify the .exe.

C:\opt\splunk\splunkforwarder\bin\splunk.exe btool inputs list > ..\btool.text

View solution in original post

mdsnmss
SplunkTrust
SplunkTrust

I don't get results unless I run as admin. You should also specify the .exe.

C:\opt\splunk\splunkforwarder\bin\splunk.exe btool inputs list > ..\btool.text

mdsnmss
SplunkTrust
SplunkTrust

Unless you customized the install folder, it would be "C:\Program Files\SplunkUniversalForwarder\bin\splunk.exe" btool inputs list > C:\Users\user\Downloads\btool.text" by default on Windows.

ddrillic
Ultra Champion

Thank you @mdsnmss.

0 Karma

ddrillic
Ultra Champion

Interesting, my colleague also suggested to use .\splunk.exe list inputstatus instead. Which one is better?

We ended up using the Power Shell command interface.

0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...