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!

Index This | How many sides does a circle have?

February 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

Registration for Splunk University is Now Open!

Are you ready for an adventure in learning?   Brace yourselves because Splunk University is back, and it's ...

Splunkbase | Splunk Dashboard Examples App for SimpleXML End of Life

The Splunk Dashboard Examples App for SimpleXML will reach end of support on Dec 19, 2024, after which no new ...