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!

This Week's Community Digest - Splunk Community Happenings [9.26.22]

Get the latest news and updates from the Splunk Community here! Upcoming User Group Events! 👏 Check ...

BSides Splunk 2022 - The Call for Papers is now Open!

TLDR; Main Site: https://bsidessplunk.com CFP Site: https://bsidessplunk.com/cfp CFP Opens: December 15th, ...

Sending Metrics to Splunk Enterprise With the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. The OpenTelemetry project is the second largest ...