Knowledge Management

Is it possible to generate a "Data Summary" for indexes other than the default index?

pscalise
New Member

Splunk's default search screen features a convenient "Data Summary" button which users can click to show a summary for the default index. Is it possible to generate this summary for other indexes?

Tags (2)
0 Karma

somesoni2
Revered Legend

The data summary page/panels executes "|metadata " command without specify the index (e.g. "| metadata type=sourcetypes | search totalCount>0 " for sourcetypes). Just add your index specification after type=sourcetypes to show the same summary for that index.

e.g. | metadata type=sourcetypes index=myindex| search totalCount>0 | rename totalCount as Count recentTime as "Last Update"

You can use wildcards, OR separated multiple conditions as well.

Was this you're looking for???

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

Note that metadata without specifying an index will search the user's default index(es). Add your indexes to the default indexes for your user's role and you'll get your summary over all those indexes.

0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

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