Deployment Architecture

Listing all directories aka sources for unix server

bsaujla131984
Path Finder

How can we check which directories are being indexed for Unix server in Splunk?

Tags (1)
0 Karma
1 Solution

woodcock
Esteemed Legend

Like this:

| tstats values(source) AS sources WHERE (index=* OR index=_*) AND (sourcetype="ASourcetypeHere" OR ... OR sourcetype="AnotherSourcetypeHere") AND (host="AHostHere" OR ... OR host="AnotherHostHere") BY sourcetype

View solution in original post

0 Karma

woodcock
Esteemed Legend

Like this:

| tstats values(source) AS sources WHERE (index=* OR index=_*) AND (sourcetype="ASourcetypeHere" OR ... OR sourcetype="AnotherSourcetypeHere") AND (host="AHostHere" OR ... OR host="AnotherHostHere") BY sourcetype
0 Karma

to4kawa
Ultra Champion

Simply:

| metadata type=sources index=your_index

Check and try Apps

 Meta Woot!: https://splunkbase.splunk.com/app/2949/
 TrackMe: https://splunkbase.splunk.com/app/4621/,
 Broken Hosts App for Splunk: https://splunkbase.splunk.com/app/3247/
 Alerts for Splunk Admins ("ForwarderLevel" alerts): https://splunkbase.splunk.com/app/3796/
 Splunk Security Essentials(https://docs.splunksecurityessentials.com/features/sse_data_availability/): https://splunkbase.splunk.com/app/3435/
 Monitoring Console: https://docs.splunk.com/Documentation/Splunk/latest/DMC/Configureforwardermonitoring
 Deployment Server: https://docs.splunk.com/Documentation/DepMon/latest/DeployDepMon/Troubleshootyourdeployment#Forwarde...

thanks @woodcock

0 Karma

bsaujla131984
Path Finder

Actually I want to list sources of a server being indexed in Splunk...

0 Karma

to4kawa
Ultra Champion

Hi,@bsaujla131984
my answer is updated, please confirm.

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 ...