You can use powershell and try the following command.
./splunk cmd btool inputs list --debug | select-string -pattern ""
Examples:
./splunk cmd btool inputs list --debug | select-string -pattern "index = default"
./splunk cmd btool inputs list --debug | select-string -pattern "index = *"
./splunk cmd btool inputs list --debug | select-string -pattern "local"
Find more details below.
http://searchwindowsserver.techtarget.com/feature/Filtering-output-from-Windows-PowerShell
Hope this helps.
... View more