Splunk Enterprise

What would the btool command be to find a certain part of an input.conf file?

joe06031990
Communicator

Hi,

 

What would the btool command be to find a certain part Of an input.conf file?

 

Thanks

 

Labels (1)
Tags (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

It depends on what you're looking for.  btool itself is limited to searching for particular stanzas.  Beyond that, use grep.

splunk btool --debug inputs list "monitor:///var/log"
---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

It depends on what you're looking for.  btool itself is limited to searching for particular stanzas.  Beyond that, use grep.

splunk btool --debug inputs list "monitor:///var/log"
---
If this reply helps you, Karma would be appreciated.

joe06031990
Communicator

Thanks

0 Karma
Get Updates on the Splunk Community!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...