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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

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