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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...