Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Summary

Summary Exploring Splunk

Rating
-
Sold
-
Pages
156
Uploaded on
08-01-2024
Written in
2023/2024

Table of Contents Preface About This Book i What’s In This Book? ii Conventions ii Acknowledgments iii PART I: EXPLORING SPLUNK 1 The Story of Splunk Splunk to the Rescue in the Datacenter 3 Splunk to the Rescue in the Marketing Department 4 Approaching Splunk 5 Splunk: The Company and the Concept 7 How Splunk Mastered Machine Data in the Datacenter 8 Operational Intelligence 9 Operational Intelligence at Work 11 2 Getting Data In Machine Data Basics 13 Types of Data Splunk Can Read 15 Splunk Data Sources 15 Downloading, Installing, and Starting Splunk 15 Bringing Data in for Indexing 17 Understanding How Splunk Indexes Data 18 3 Searching with Splunk The Search Dashboard 23 SPL™: Search Processing Language 27 Pipes 27 Implied AND 28 top user 28 fields – percent 28 The search Command 29 Tips for Using the search Command 30 Subsearches 30 4 SPL: Search Processing Language Sorting Results 33 sort 33 Filtering Results 35 where 35 dedup 36 head 38 Grouping Results 39 transaction 39 Reporting Results 41 top 41 stats 43 chart 45 timechart 47 Filtering, Modifying, and Adding Fields 48 fields 49 replace 50 eval 51 rex 52 lookup 53 5 Enriching Your Data Using Splunk to Understand Data 55 Identifying Fields: Looking at the Pieces of the Puzzle 56 Exploring the Data to Understand its Scope 58 Preparing for Reporting and Aggregation 60 Visualizing Data 65 Creating Visualizations 65 Creating Dashboards 67 Creating Alerts 68 Creating Alerts through a Wizard 68 Tuning Alerts Using Manager 71 Customizing Actions for Alerting 74 The Alerts Manager 74 PART II: RECIPES 6 Recipes for Monitoring and Alerting Monitoring Recipes 79 Monitoring Concurrent Users 79 Monitoring Inactive Hosts 80 Reporting on Categorized Data 81 Comparing Today’s Top Values to Last Month’s 82 Finding Metrics That Fell by 10% in an Hour 84 Charting Week Over Week Results 85 Identify Spikes in Your Data 86 Compacting Time-Based Charting 88 Reporting on Fields Inside XML or JSON 88 Extracting Fields from an Event 89 Alerting Recipes 90 Alerting by Email when a Server Hits a Predefined Load 90 Alerting When Web Server Performance Slows 91 Shutting Down Unneeded EC2 Instances 91 Converting Monitoring to Alerting 92 7 Grouping Events Introduction 95 Recipes 97 Unifying Field Names 97 Finding Incomplete Transactions 97 Calculating Times within Transactions 99 Finding the Latest Events 100 Finding Repeated Events 101 Time Between Transactions 102 Finding Specific Transactions 104 Finding Events Near Other Events 107 Finding Events After Events 108 Grouping Groups 109 8 Lookup Tables Introduction 113 lookup 113 inputlookup 113 outputlookup 113 Further Reading 114 Recipes 114 Setting Default Lookup Values 114 Using Reverse Lookups 114 Using a Two-Tiered Lookup 116 Using Multistep Lookups 116 Creating a Lookup Table from Search Results 117 Appending Results to Lookup Tables 117 Using Massive Lookup Tables 118 Comparing Results to Lookup Values 120 Controlling Lookup Matches 122 Matching IPs 122 Matching with Wildcards 123 Appendix A: Machine Data Basics Application Logs 126 Web Access Logs 126 Web Proxy Logs 127 Call Detail Records 127 Clickstream Data 127 Message Queuing 128 Packet Data 128 Configuration Files 128 Database Audit Logs and Tables 128 File System Audit Logs 128 Management and Logging APIs 129 OS Metrics, Status, and Diagnostic Commands 129 Other Machine Data Sources 129 Appendix B: Case Sensitivity Appendix C: Top Commands Appendix D: Top Resources Appendix E: Splunk Quick Reference Guide CONCEPTS 137 Overview 137 Events 137 Sources and Sourcetypes 138 Hosts 138 Indexes 138 Fields 138 Tags 138 Event Types 139 Reports and Dashboards 139 Apps 139 Permissions/Users/Roles 139 Transactions 139 Forwarder/Indexer 140 SPL 140 Subsearches 141 Relative Time Modifiers 141 COMMON SEARCH COMMANDS 142 Optimizing Searches 142 SEARCH EXAMPLES 143 EVAL FUNCTIONS 146 COMMON STATS FUNCTIONS 151 REGULAR EXPRESSIONS 152 COMMON SPLUNK STRPTIME FUNCTIONS 153 i Preface Splunk Enterprise Software (“Splunk”) is probably the single most powerful tool for searching and exploring data that you will ever encounter. We wrote this book to provide an introduction to Splunk and all it can do. This book also serves as a jumping off point for how to get creative with Splunk. Splunk is often used by system administrators, network administrators, and security gurus, but its use is not restricted to these audiences. There is a great deal of business value hidden away in corporate data that Splunk can liberate. This book is designed to reach beyond the typical techie reader of O’Reilly books to marketing quants as well as everyone interested in the topics of Big Data and Operational Intelligence. About This Book The central goal of this book is to help you rapidly understand what Splunk is and how it can help you. It accomplishes this by teaching you the most important parts of Splunk’s Search Processing Language (SPL™). Splunk can help technologists and businesspeople in many ways. Don’t expect to learn Splunk all at once. Splunk is more like a Swiss army knife, a simple tool that can do many powerful things. Now the question becomes: How can this book help? The short answer is by quickly giving you a sense of what you can do with Splunk and pointers on where to learn more. But isn’t there already a lot of Splunk documentation? Yes: • If you check out , you will find many manuals with detailed explanations of the machinery of Splunk. • If you check out , you will find a searchable database of questions and answers. This sort of content is invaluable when you know a bit about Splunk and are trying to solve common problems. This book falls in between these two levels of documentation. It offers a basic understanding of Splunk’s most important

Show more Read less
Institution
Course

Content preview

,Exploring Splunk
SEARCH PROCESSING LANGUAGE (SPL)
PRIMER AND COOKBOOK
By David Carasso, Splunk’s Chief Mind




CITO
Research
New York, NY

,Exploring Splunk, by David Carasso
Copyright © 2012 by Splunk Inc.
All rights reserved. Printed in the United States of America.
Authorization to photocopy items for internal or personal use is granted
by Splunk, Inc. No other copying may occur without the express written
consent of Splunk, Inc.
Published by CITO Research, 1375 Broadway, Fl3, New York, NY 10018.
Editor/Analyst: Dan Woods, Deb Cameron
Copyeditor: Deb Cameron
Production Editor: Deb Gabriel
Cover: Splunk, Inc.
Graphics: Deb Gabriel
First Edition: April 2012
While every precaution has been taken in the preparation of this book,
the publisher and author assume no responsibility for errors or omissions
or for damages resulting from the use of the information contained herein.


ISBN: 978-0-9825506-7-0; 0-9825506-7-7
Disclaimer
This book is intended as a text and reference book for reading purposes
only. The actual use of Splunk’s software products must be in accordance
with their corresponding software license agreements and not with any-
thing written in this book. The documentation provided for Splunk’s soft-
ware products, and not this book, is the definitive source for information
on how to use these products.
Although great care has been taken to ensure the accuracy and timeliness
of the information in this book, Splunk does not give any warranty or
guarantee of the accuracy or timeliness of the information and Splunk does
not assume any liability in connection with any use or result from the use
of the information in this book. The reader should check at docs.splunk.
com for definitive descriptions of Splunk’s features and functionality.

, Table of Contents
Preface
About This Book i
What’s In This Book? ii
Conventionsii
Acknowledgmentsiii
PART I: EXPLORING SPLUNK
1 The Story of Splunk
Splunk to the Rescue in the Datacenter 3
Splunk to the Rescue in the Marketing Department 4
Approaching Splunk 5
Splunk: The Company and the Concept 7
How Splunk Mastered Machine Data in the Datacenter 8
Operational Intelligence 9
Operational Intelligence at Work 11
2 Getting Data In
Machine Data Basics 13
Types of Data Splunk Can Read 15
Splunk Data Sources 15
Downloading, Installing, and Starting Splunk 15
Bringing Data in for Indexing 17
Understanding How Splunk Indexes Data 18
3 Searching with Splunk
The Search Dashboard 23
SPL™: Search Processing Language 27

Written for

Course

Document information

Uploaded on
January 8, 2024
Number of pages
156
Written in
2023/2024
Type
SUMMARY

Subjects

$11.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF


Also available in package deal

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
THEEXCELLENCELIBRARY Harvard University
Follow You need to be logged in order to follow users or courses
Sold
18
Member since
2 year
Number of followers
6
Documents
2641
Last sold
3 months ago
THE EXCELLENCE LIBRARY

The Excellence Library Where Academic Success Begins. Welcome to The Excellence Library — your trusted marketplace for past and upcoming exam papers with verified answers, spanning all academic fields. Whether you're a med student, a future lawyer, a high schooler prepping for finals, or a researcher looking for model dissertations — we've got you covered. What We Offer Accurate & Complete Exam Papers From Medicine, Nursing, Law (Bar Exams), High School subjects, and more. Model Dissertations & Novels Top-tier academic references and full-text materials to guide your writing and study. Affordable & Fair Pricing Quality resources at a price that respects students' budgets. Why Choose Us? Thoroughly Reviewed Answers – Every paper includes clear, correct solutions. Massive Library – Thousands of documents, constantly updated. Academic Excellence, Delivered – We help you prepare smarter, not harder. Fast Delivery – Get what you need, when you need it. Our Goal To empower students and professionals by offering reliable, affordable academic materials — helping you succeed one paper at a time.

Read more Read less
2.5

2 reviews

5
0
4
0
3
1
2
1
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions