Getting Data In

How to determine which inputs are configured in my Splunk architecture? - RESOLVED

vikram_m
Path Finder

Hello Team,

I have recently joined a team and the old Splunk admin has left.

I am messed up determining the number of Universal Forwarders, Direct data pull input and the number of ways data is brought into Splunk environment. Is there any way in Splunk where I can directly know from where the Inputs are configured to get into Splunk?

Please suggest how can I read to get information about the inputs to the architecture.

0 Karma
1 Solution

somesoni2
Revered Legend

If you're using Deployment server, then look at the $SPlunk_Home/etc/deployment-apps directory for apps which contains inputs.conf. From inputs.conf you can identify what all data inputs (files/script/database/eventlog/perfmon or anything else) that you're using in your environment to collect data. Then look at the serverclass.conf on the deployment server to see which app (which contains the inputs.conf) is deployed to which client/forwarder. Also check the inputs.conf on Indexers/Heavy forwarder to see if there are direct data inputs configured there (TCP/UDP etc).

View solution in original post

0 Karma

somesoni2
Revered Legend

If you're using Deployment server, then look at the $SPlunk_Home/etc/deployment-apps directory for apps which contains inputs.conf. From inputs.conf you can identify what all data inputs (files/script/database/eventlog/perfmon or anything else) that you're using in your environment to collect data. Then look at the serverclass.conf on the deployment server to see which app (which contains the inputs.conf) is deployed to which client/forwarder. Also check the inputs.conf on Indexers/Heavy forwarder to see if there are direct data inputs configured there (TCP/UDP etc).

0 Karma

esix_splunk
Splunk Employee
Splunk Employee

Look at the metadata command, over a given period it will show you what hosts are sending data to Splunk.

 | metadata type=hosts index=*
 | fields - firstTime,totalCount,type
 | convert ctime(lastTime) ctime(recentTime)
 | table host ageInSeconds lastTime recentTime

You can also use type=sourcetypes here and see relative sourcetypes.

See docs here : https://docs.splunk.com/Documentation/Splunk/6.5.1/SearchReference/Metadata

Additionally, you can look at forwarder management on the DMC if you are using a more recent version and it will give you additional information such as topology and forwarder types coming in.

You can also look through _internal index and build from there..
Review this post: https://answers.splunk.com/answers/482475/how-to-determine-the-inputs-to-the-splunk-environm.html#an...

0 Karma
Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...