Populating summary indexes with saved searches
A search to populate a summary index is much like any other saved search (see Chapter 2, Understanding 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:
- Start with a search that produces some statistic:
source="impl_splunk_gen" | stats count by user
- Save this search as summary - count by user.
- Edit the search in Settings by navigating to Settings | Searches, reports and alerts| summary – count by user.
- Set the appropriate times. This is a somewhat complicated discussion. See the How latency affects summary queries section discussed ...
Get Implementing Splunk - Second 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.