Book Image

Implementing Splunk (Update)

Book Image

Implementing Splunk (Update)

Overview of this book

Table of Contents (20 chapters)
Implementing Splunk Second Edition
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 10. Summary Indexes and CSV Files

As the number of events retrieved by a query increases, performance decreases linearly. Summary indexing allows you to calculate the statistics in advance and then run reports against these roll ups, dramatically increasing performance.

In this chapter, we will cover the following topics:

  • Understanding summary indexes

  • When to use a summary index

  • When not to use a summary index

  • Populating summary indexes with saved searches

  • Using summary index events in a query

  • Using sistats, sitop, and sitimechart

  • How latency affects summary queries

  • How and when to backfill summary data

  • Reducing summary index size

  • Calculating top for a large time frame

  • Using CSV files to store transient data

  • Speeding up queries and backfilling