Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Implementing Splunk (Update)

You're reading from  Implementing Splunk (Update)

Product type Book
Published in Jul 2015
Publisher
ISBN-13 9781784391607
Pages 506 pages
Edition 1st Edition
Languages

Table of Contents (20) Chapters

Implementing Splunk Second Edition
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
The Splunk Interface Understanding Search Tables, Charts, and Fields Data Models and Pivots Simple XML Dashboards Advanced Search Examples Extending Search Working with Apps Building Advanced Dashboards Summary Indexes and CSV Files Configuring Splunk Advanced Deployments Extending Splunk Index

Sparklines


Growing in popularity as a data visualization option, Sparklines are inline charts that represent the general shape of a variation (typically over time) in some measurement (such as miles per gallon or home value), in a simple and highly condensed way. Splunk provides the ability for you to add Sparklines to stats and chart searches, improving their usefulness and overall information density.

A simple Splunk search example like

sourcetype=csv "0001" "USD" | chart AVG(Jan) by PERIOD

creates the following results table:

As you can see, the preceding example of a search, generates a table that shows average amounts by the field PERIOD—just two columns.

If you add the keyword sparkline to the search pipeline, you can have Splunk include Sparklines with the results.

Note

You always use the Sparklines feature in conjunction with chart and stats because it is a function (of those two search commands) and not a command by itself.

sourcetype=csv "0001" "USD" | chart sparkline AVG(Jan) by PERIOD...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}