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!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...