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

Exploring the Stack Overflow dataset with Elastic Graph


Stack Overflow is a website widely used to ask and answer questions about a very large set of topics in the computer science industry. It's a perfect resource to try out Elastic Graph, as the data it holds will contain users who are connected to questions, answers, tags, comments, and so on. In this section, we'll index the Stack Overflow dataset in Elasticsearch, look at the structure of the data, and build relations using Elastic Graph.

Prepare to graph!

The dataset we will use is located in the source attached to this book in the Chapter 6 folder. You will find a ZIP file called StackOverflow4Graph.zip that contains the following files:

  • IndexPosts.py : Python script that indexes the data in your Elasticsearch cluster

  • Posts.csv: The dataset itself

  • readme.txt: The readme file, which, by the way, contains a link to a tweet that illustrates what we are going to do in this part

The following example gives an idea of Stack Overflow Graph...