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!

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...