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
Credits
About the Author
About the Reviewers
www.PacktPub.com
Customer Feedback
Dedication
Preface

Creating a plugin from scratch


When I say from scratch, it's not totally accurate, as we are going to use a plugin generator made by the Kibana team itself.

In this section, we'll first start to use Yeoman to generate a plugin and analyze its structure.

Yeoman - the plugin scaffolder

It's not obvious to start developing a Kibana, specifically when you don't know what the project structure looks like, what are the required dependencies, or how to build it. This is where Yeoman will you get started.

Note

Yeoman is a utility tool to scaffold new projects such as a Kibana plugin.

You can access more documentation from http://yeoman.io/ and specifically on the generator discovery section, http://yeoman.io/generators/, which allows searching for Yeoman generators:

Yeoman generator discovery

Yeoman needs to be installed using Node.js in order to be used; you just need to issue the following command:

npm install -g yo

We will also install the Kibana plugin generator, the code for which can be found at...