Splunk Search

Get sources configured under all apps in deployment server splunk

SrinivasaC
Path Finder

Hi,

We have 100 's of in our splunk system, what i need is, what are configured Forwarder Inputs in splunk system for all the apps using Splunk query.
i.e we have configured all the logs under inputs.conf for each app with monitor stanza around 100's of logs.

So I need to get all the logs files using Splunk Query.

Please help me.

Thanks in advance.

Tags (2)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

The metadata command may be what you are looking for.

| metadata type=sources

will give you a list of all sources.

---
If this reply helps you, Karma would be appreciated.
0 Karma

SrinivasaC
Path Finder

Thanks for your reply..
It's giving only reported logs/sources with in the time-frame (i.e. last 15mins, 60mins, 4hrs...etc..), but not configured sources under inputs.conf file in deployment server.

0 Karma

Runals
Motivator

Splunk doesn't track/log the config files in the deployment-apps directory so there isn't anything to search. You'd have to do something like have a script generate that data (ie cat) on some interval. You could add the directory to the list of inputs easy enough but once the files are read in Splunk will only read them in if they have changed which is why I mentioned the script.

0 Karma

SrinivasaC
Path Finder

Have you check out the DeploymentMonitor app. It ships with Splunk, but is not enabled by default.

To enable it, go to Manager -> Apps and click 'enable' for the SplunkDeploymentMonitor

Then you can choose DeploymentMonitor in the 'Apps' menu (it will not have much data to show right away, since it works with scheduled searches). You can set up alerts for 'quiet' or 'missing' forwarders.

source will help:
https://answers.splunk.com/answers/48209/best-way-to-alert-for-not-receiving-data-from-a-source.html

0 Karma
Get Updates on the Splunk Community!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...