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!

Community Content Calendar, November Edition

Welcome to the November edition of our Community Spotlight! Each month, we dive into the Splunk Community to ...

October Community Champions: A Shoutout to Our Contributors!

As October comes to a close, we want to take a moment to celebrate the people who make the Splunk Community ...

Stay Connected: Your Guide to November Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...