Book Image

Splunk 7.x Quick Start Guide

By : James H. Baxter
Book Image

Splunk 7.x Quick Start Guide

By: James H. Baxter

Overview of this book

Splunk is a leading platform and solution for collecting, searching, and extracting value from ever increasing amounts of big data - and big data is eating the world! This book covers all the crucial Splunk topics and gives you the information and examples to get the immediate job done. You will find enough insights to support further research and use Splunk to suit any business environment or situation. Splunk 7.x Quick Start Guide gives you a thorough understanding of how Splunk works. You will learn about all the critical tasks for architecting, implementing, administering, and utilizing Splunk Enterprise to collect, store, retrieve, format, analyze, and visualize machine data. You will find step-by-step examples based on real-world experience and practical use cases that are applicable to all Splunk environments. There is a careful balance between adequate coverage of all the critical topics with short but relevant deep-dives into the configuration options and steps to carry out the day-to-day tasks that matter. By the end of the book, you will be a confident and proficient Splunk architect and administrator.
Table of Contents (12 chapters)

Managing Splunk Indexes

Indexes are where the data that is sent to Splunk is stored. Each index is a directory, and as we discussed in previous sections, each directory contains a subdirectory for host/warm buckets (in /db), cold buckets (in /colddb), and a datamodel_summary , and thaweddb directory, which may be empty if not used for datamodels and thawed buckets, respectively. The folder structure for Splunk's _internal index looks like this:

/opt/splunk/var/lib/splunk/_internaldb
/colddb
/datamodel_summary
/db
/thaweddb

Index buckets are the files and directories inside each of the above; for example, the /db directory will contain directories of both hot buckets (open and being written to, usually named hot_xxx), and warm buckets (closed for writing, but quickly searchable, usually named db_xxx or rb_xxx). The db_xxx buckets are those that were created on this...