Getting Data In

Linux server - Splunk Forwarder - './splunk list monitor'

wbcattell
Explorer

When I login as Admin on one of my Splunk Forwarders (Linux, cmd line only) and issue the ./splunk list monitor command I see the list of monitors. No problem there. In which file are these monitors stored? I've looked in etc/system/local/inputs and outputs.conf but they're not there.

I also need to remove a couple of the monitors that display as we have moved the directories.

Any ideas, suggestions would be appreciated. I've already RTFM'd but didn't find the answer.

Thanks,

Bill

Tags (1)
0 Karma

Drainy
Champion

try ./splunk cmd btool inputs list --debug

This will produce a list of all stanzas and before each line will be the name of the app it is defined within to help you track those pesky hobbit... configs down

lguinn2
Legend

Also, the ./splunk list monitor command lists the individual files that are being monitored. The inputs.conf tells you the directories and files that were explicitly specificed, but it won't list the individual file names.

Drainy
Champion

My bad, had a special moment when I wrote this. Try the edited version

0 Karma

wbcattell
Explorer

Thanks for the input. Tried that - came up with "invalid command: inputs".

I'm running forwarder version 4.3.4

0 Karma
Get Updates on the Splunk Community!

Aligning Observability Costs with Business Value: Practical Strategies

 Join us for an engaging Tech Talk on Aligning Observability Costs with Business Value: Practical ...

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...

Splunk Up Your Game: Why It's Time to Embrace Python 3.9+ and OpenSSL 3.0

Did you know that for Splunk Enterprise 9.4, Python 3.9 is the default interpreter? This shift is not just a ...