Populating summary indexes with saved searches

A search to populate a summary index is much like any other saved search (see Chapter 3, Understand Search, for more details on creating saved searches).

The differences are that this search will run periodically, and the results will be stored in the summary index.

So, let's build a simple summary search by following these steps:

  1. Start with a search that produces some statistic:
source="impl_splunk_gen" | stats count by user 
  1. Save this search as summary - count by user.
  2. Edit the search in Settings by navigating to Settings | Searches, reports and alerts| summary - count by user.
  3. Set the appropriate times. This is a somewhat complicated discussion. See the How latency affects summary queries ...

Get Implementing Splunk 7 - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.