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!

Splunk Answers Content Calendar, June Edition II

Get ready to dive into Splunk Dashboard panels this week! We'll be tackling common questions around ...

Splunk Observability Cloud's AI Assistant in Action Series: Auditing Compliance and ...

This is the third post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...