Book Image

Learning Kibana 5.0

By : Bahaaldine Azarmi
Book Image

Learning Kibana 5.0

By: Bahaaldine Azarmi

Overview of this book

Kibana is an open source data visualization platform that allows you to interact with your data through stunning, powerful graphics. Its simple, browser-based interface enables you to quickly create and share dynamic dashboards that display changes to Elasticsearch queries in real time. In this book, you’ll learn how to use the Elastic stack on top of a data architecture to visualize data in real time. All data architectures have different requirements and expectations when it comes to visualizing the data, whether it’s logging analytics, metrics, business analytics, graph analytics, or scaling them as per your business requirements. This book will help you master Elastic visualization tools and adapt them to the requirements of your project. You will start by learning how to use the basic visualization features of Kibana 5. Then you will be shown how to implement a pure metric analytics architecture and visualize it using Timelion, a very recent and trendy feature of the Elastic stack. You will learn how to correlate data using the brand-new Graph visualization and build relationships between documents. Finally, you will be familiarized with the setup of a Kibana development environment so that you can build a custom Kibana plugin. By the end of this book you will have all the information needed to take your Elastic stack skills to a new level of data visualization.
Table of Contents (17 chapters)
Learning Kibana 5.0
About the Author
About the Reviewers
Customer Feedback

Chapter 5.  Metric Analytics with Metricbeat and Kibana 5.0

In the two previous chapters, we have seen how to use Kibana in order to visualize log data in the context of a business and a technical use case. We will now focus on metric analytics, which is fundamentally different in terms of data structure.

So, before starting this chapter, I would like to devote a few lines to the following question:

What is a metric?

A metric is an event that contains a timestamp and usually one or more numeric values. It is appended to a metric file sequentially, where all metric lines are ordered based on the timestamp. As an example, here are a few system metrics:

02:30:00 AM    all    2.58    0.00    0.70    1.12    0.05     95.55
02:40:00 AM    all    2.56    0.00    0.69    1.05    0.04     95.66
02:50:00 AM    all    2.64    0.00    0.65    1.15    0.05     95.50

Unlike logs, metrics are sent periodically, for example, every 10 minutes (as the preceding example illustrates) whereas logs are usually...