In Splunk Essentials, Second Edition, we have added many more features that readers should find useful. Splunk Enterprise Software, or Splunk, is an extremely powerful tool for searching, exploring, and visualizing data of all types. Splunk is becoming increasingly popular, as more and more businesses, both large and small, discover its ease and usefulness. Analysts, managers, students, and others can quickly learn how to use the data from their systems, networks, web traffic, and social media to make attractive and informative reports. This is a straightforward, practical, and quick introduction to Splunk that should have you making reports and gaining insights from your data in no time. We have added a number of helpful hints and exercises that will help you get up to speed with Splunk in no time. Throughout the book, we have provided step-by-step instructions, pointers, and illustrations to help you on your way.
Chapter 1, Splunk in Action, introduces you to Splunk Enterprise Software and its powerful capabilities.
Chapter 2, Bringing in Data, explains indexing and searching in Splunk, and introduces other data concepts that are important to understand.
Chapter 3, Search Processing Language, develops your skills in using Search Processing Language (SPL).
Chapter 4, Data Models and Pivot, shows you how to create a data model as well as a pivot table using Splunk.
Chapter 5, Data Optimization, Reports, Alerts, and Accelerating Searches, explores how to use data optimization and search acceleration with Splunk, and how to create effective reports and alerts.
Chapter 6, Panes of Glass, takes you step-by-step through the development of dashboard.
Chapter 7, Splunk SDK for JavaScript and D3.js, instructs you on how to use a Splunk SDK and D3 to create effective and attractive website visualizations.
Chapter 8, HTTP Event Collector, introduces how to use Splunk to monitor HTTP events.
Chapter 9, Best Practices and Advanced Queries, overviews various best practices for using Splunk and gives details on advanced queries that can be used to take advantage of Splunk’s many rich capabilities.
Most personal computers today can run Splunk easily. For more technical details see http://docs.splunk.com/Documentation/6.4/Installation/Chooseyourplatform.
Splunk Essentials, Second Edition, is intended for the Splunk developer, software engineer, businessperson, analyst, or student who wants to quickly learn how to use Splunk to manage data. Perhaps you have heard about this technology that is being used quite often now in fields like systems analysis, cyber security, and machine data management. In a matter of hours, this book will help you understand how to bring in data of all types, store it, and use it to create effective reports and dashboards. It would be helpful to have a bit of familiarity with basic computer concepts, but no prior experience is required.
In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.
Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "It is essentially a
collection of databases that is, by default, located at $SPLUNK_HOME/var/lib/splunk
."
A block of code is set as follows:
[wineventlogs] coldPath = $SPLUNK_DB\wineventlogs\colddb homePath = $SPLUNK_DB\wineventlogs\db maxTotalDataSizeMB = 100 thawedPath = $SPLUNK_DB\wineventlogs\thaweddb
Any command-line input or output is written as in two ways in this book. Be careful when copying commands with quotation marks. It is best to type in the entire search command to avoid problems.
If it is a Windows command, the command will be written as follows:
C:\> notepad c:\splunk\etc\apps\destinations\local\indexes.conf
If it is a Splunk command, the command will be written as follows:
SPL> index=main /booking/confirmation earliest=-24h@h | timechart count span=15m
New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "Underneath Selected Fields, you will see Interesting Fields."
Feedback from our readers is always welcome. Let us know what you think about this book-what you liked or disliked. Reader feedback is important for us as it helps us develop titles that you will really get the most out of.
To send us general feedback, simply e-mail [email protected]
, and mention the book's title in the subject of your message.
If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide at www.packtpub.com/authors.
Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.
You can download the example code files for this book from your account at http://www.packtpub.com. If you purchased this book elsewhere, you can visit http://www.packtpub.com/support and register to have the files e-mailed directly to you.
You can download the code files by following these steps:
Log in or register to our website using your e-mail address and password.
Hover the mouse pointer on the SUPPORT tab at the top.
Click on Code Downloads & Errata.
Enter the name of the book in the Search box.
Select the book for which you're looking to download the code files.
Choose from the drop-down menu where you purchased this book from.
Click on Code Download.
Once the file is downloaded, please make sure that you unzip or extract the folder using the latest version of:
WinRAR / 7-Zip for Windows
Zipeg / iZip / UnRarX for Mac
7-Zip / PeaZip for Linux
The code bundle for the book is also hosted on GitHub at https://github.com/PacktPublishing/Splunk-Essentials-Second-Edition. We also have other code bundles from our rich catalog of books and videos available at https://github.com/PacktPublishing/. Check them out!
We also provide you with a PDF file that has color images of the screenshots/diagrams used in this book. The color images will help you better understand the changes in the output. You can download this file from https://www.packtpub.com/sites/default/files/downloads/SplunkEssentialsSecondEdition_ColorImages.pdf.
Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books-maybe a mistake in the text or the code-we would be grateful if you could report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting http://www.packtpub.com/submit-errata, selecting your book, clicking on the Errata Submission Form link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded to our website or added to any list of existing errata under the Errata section of that title.
To view the previously submitted errata, go to https://www.packtpub.com/books/content/support and enter the name of the book in the search field. The required information will appear under the Errata section.
Piracy of copyrighted material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works in any form on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.
Please contact us at [email protected]
with a link to the suspected pirated material.
We appreciate your help in protecting our authors and our ability to bring you valuable content.
If you have a problem with any aspect of this book, you can contact us at [email protected]
, and we will do our best to address the problem.