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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...