Getting Data In

How to identify in the splunkd.log when Splunk is no longer monitoring a data input?

Ant1D
Motivator

Hey,

Is there an event in splunkd.log which identifies when a stanza defined in inputs.conf which is not disabled is no longer being indexed?

Thanks in advance for your help

0 Karma

linu1988
Champion

Hello Ant1D,
Rather than going for splunkd.log you can search in splunk metadata command. You wont be finding any indication in the splunkd.log if is has been stopped for monitoring because splunk will keep on monitoring but doesn't actually read anything unless it has changed state.

|metadata type=sources index=Index_Name|where source like '%part_of_Source%'

Of course you wont be able to find if there are many hosts having the same source names.

Thanks,
L

0 Karma

pradeepkumarg
Influencer

You can check the same by running ./splunk list monitor command on the forwarder

0 Karma

Ant1D
Motivator

Yes this command will show me the inputs that Splunk is currently monitoring. It does not indicate if one of these monitored inputs is no longer being indexed for any given reason.

0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...