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!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...