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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...