Getting Data In

Query to list All indexes and sourcetypes of All Apps present in an instance

rizshez
Engager

I need help to find a query that can list every source types and indexes of each and every app present in the search head or an instance. Is it possible to get the results using SPL?

Labels (5)
0 Karma

splunkcol
Builder

Hi, I'm also new, I don't know if what I'm going to answer is helpful, I'll still try


index=* |stats count by index sourcetype app |sort -count

rizshez
Engager

What I am trying to achieve is get list of all sourcetypes and indexes of TA. By that I mean what sourcetype and indexes is that specific TA is using.

0 Karma
Get Updates on the Splunk Community!

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to Officially Supported Splunk ...