Getting Data In

Which inputs.conf does "splunk add monitor" modify

tsheets13
Communicator

I've been working with Splunk for many years and have always made changes via the .conf files.  However, I recently added the /var/logs directory by using

./splunk add monitor /var/log -index main -sourcetype linux

It's working, but I want to modify it a bit.  However, I have been pulling my hair out trying to figure out which inputs.conf file was modified with the command.

Any assistance appreciated.

Tim

Labels (1)
0 Karma
1 Solution

493669
Super Champion

Hi @tsheets13 ,
You can btool command to check where your config lies for ex. ./splunk btool inputs list --debug

./splunk btool inputs list --debug

 

-----
If this reply helps an upvote will be appreciated

View solution in original post

493669
Super Champion

Hi @tsheets13 ,
You can btool command to check where your config lies for ex. ./splunk btool inputs list --debug

./splunk btool inputs list --debug

 

-----
If this reply helps an upvote will be appreciated

Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...