Book Image

Splunk Operational Intelligence Cookbook. - Third Edition

By : Yogesh Raheja, Josh Diakun, Paul R. Johnson, Derek Mock
Book Image

Splunk Operational Intelligence Cookbook. - Third Edition

By: Yogesh Raheja, Josh Diakun, Paul R. Johnson, Derek Mock

Overview of this book

Splunk makes it easy for you to take control of your data, and with Splunk Operational Cookbook, you can be confident that you are taking advantage of the Big Data revolution and driving your business with the cutting edge of operational intelligence and business analytics. With more than 80 recipes that demonstrate all of Splunk’s features, not only will you find quick solutions to common problems, but you’ll also learn a wide range of strategies and uncover new ideas that will make you rethink what operational intelligence means to you and your organization. You’ll discover recipes on data processing, searching and reporting, dashboards, and visualizations to make data shareable, communicable, and most importantly meaningful. You’ll also find step-by-step demonstrations that walk you through building an operational intelligence application containing vital features essential to understanding data and to help you successfully integrate a data-driven way of thinking in your organization. Throughout the book, you’ll dive deeper into Splunk, explore data models and pivots to extend your intelligence capabilities, and perform advanced searching with machine learning to explore your data in even more sophisticated ways. Splunk is changing the business landscape, so make sure you’re taking advantage of it.
Table of Contents (12 chapters)

Calculating the average session time on a website

In previous chapters, we created methods to assess various values that show how consumers interact with our website. However, what these values did not outline is how long consumers spend on our website. By leveraging Splunk's more powerful search commands, we can calculate the average session time of consumers interacting with our website, which can act as supporting information when articulating data such as engagement rates, resource requirements, or consumer experience.

In this recipe, you will write a Splunk search to calculate the average time of a session on the website over a given period of time. You will then graphically display this value on a dashboard using the single-value visualization.

Getting ready

...