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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...