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 ...

Get Learning Kibana 5.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.