Reader small image

You're reading from  Mastering Elastic Stack

Product typeBook
Published inFeb 2017
PublisherPackt
ISBN-139781786460011
Edition1st Edition
Right arrow
Authors (2):
Ravi Kumar Gupta
Ravi Kumar Gupta
author image
Ravi Kumar Gupta

Ravi Kumar Gupta is an author, reviewer, and open source software evangelist. He pursued an MS degree in software system at BITS Pilani and a B.Tech at LNMIIT, Jaipur. His technological forte is portal management and development. He is currently working with Azilen Technologies, where he acts as a Technical Architect and Project Manager. His previous assignment was as a lead consultant with CIGNEX Datamatics. He was a core member of the open source group at TCS, where he started working on Liferay and other UI technologies. During his career, he has been involved in building enterprise solutions using the latest technologies with rich user interfaces and open source tools. He loves to spend time writing, learning, and discussing new technologies. His interest in search engines and that small project on crawler during college time made him a technology lover. He is one of the authors of Test-Driven JavaScript Development, Packt Publishing. He is an active member of the Liferay forum. He also writes technical articles for his blog at TechD of Computer World (http://techdc.blogspot.in). He has been a Liferay trainer at TCS and CIGNEX, where he has provided training on Liferay 5.x and 6.x versions. He was also a reviewer for Learning Bootstrap, Packt Publishing. He can be reached on Skype at kravigupta, on Twitter at @kravigupta, and on LinkedIn at https://in.linkedin.com/in/kravigupta.
Read more about Ravi Kumar Gupta

Yuvraj Gupta
Yuvraj Gupta
author image
Yuvraj Gupta

Yuvraj Gupta is an author and a keen technologist with interest towards Big Data, Data Analytics, Data Visualization, and Cloud Computing. He has been working as a Big Data Consultant primarily in domain of Big Data Testing. He loves to spend time writing on various social platforms. He is an avid gadget lover, a foodie, a sports enthusiast and love to watch tv-series or movies. He always keep himself updated with the latest happenings in technology. He has authored a book titled Kibana Essentials with Packt Publishers. He can be reached at gupta.yuvraj@gmail.com or at LinkedIn www.linkedin.com/in/guptayuvraj.
Read more about Yuvraj Gupta

View More author details
Right arrow

Chapter 10. X-Pack: Alerting, Graph, and Reporting

While installing X-Pack, six important components are installed, three of which: Monitoring, Security, and Profiler we have already discussed in the previous chapters. In this chapter, we will explore the rest of the components to know what they offer and see how they help us with our needs.

In this chapter, we will cover the following sections:

  • Exploring Alerting and Notification

  • Exploring Graph

  • Exploring Reporting

Alerting and notification


Every organization needs a system that is capable of alerting whenever required. This component of X-Pack provides us with flexibility to create alerts and notifications based on some conditions which get triggered due to change in data. Due to the requirement of having a real-time alert mechanism through which you can trigger some actions based on the conditions specified arises the need for this component named Watcher. It grew out of the necessity of creating actions on the go as and when required without requiring changing the configuration across the Stack. If seen closely, we can create such alerts based on conditions by specifying them directly in the Logstash configuration file using appropriate filters and output plugins. But doing so every time to create a new type of alert would require proper testing before making changes in production environment. Instead of making any changes in the existing setup, you can create your own rules on the go to get alerted...

Graph


Graph is another addition to X-Pack, which was earlier available as a standalone component and was also earlier named Graph. It is just adding the complete Graph application into X-Pack without the need to install it separately. It is a very powerful tool aimed at discovering how your terms are interrelated. It provides a simple yet elegant way to uncover the relations between indexed terms and how meaningful they are.

It can help you in a wide range of applications such as recommendation engines, discovering insights for multiple fields and how are they related, showing how you are connected to your friends on social networks, website analysis including vulnerabilities tracking, most used pages, recommending which section of the page a user will click after going on a page, and so on.

Graph can be used from two sources, that is, using the Graph Exploration API from Elasticsearch perspective or by using the interactive Graph visualization tool bundled into Kibana. The biggest advantage...

Reporting


Reporting is the last yet important addition to the Kibana. It brings the most popular request of generating reports containing the dashboards, visualizations, and searches that can be used for external purposes or adding the reports in presentations, and so on. Reporting brings the awaited feature by using PhantomJS to create reports from the images and stitching it properly in the form of a PDF.

To generate a report, we have the Reporting option present in the toolbar within the Discover, Visualize, and Dashboard pages. We can click on the Reporting option and click on the Generate Printable PDF button or click on Generation URL.

We will not see how to create visualizations/dashboards and save them. Instead we will see how to generate a report and see the reports. Let us save the dashboard and then click on Reporting, followed by clicking on Generate Printable PDF. Upon clicking, it displays the message as follows:

Reporting: Dashboard generation has been queued. You can track...

Summary


X-Pack is a must have tool when you need to set up Elastic Stack components in your organization. It helps you with all of the essential and critical requirements, whether it is user management, roles and permissions, alerts of some event, generating reports, analyzing data using graphs, or monitoring of the nodes and indices. These two chapters conclude the new offering of X-Pack and its components.

In the next chapter, we will learn about the best practices and standards to keep in mind and to follow when it comes to production environments.

lock icon
The rest of the chapter is locked
You have been reading a chapter from
Mastering Elastic Stack
Published in: Feb 2017Publisher: PacktISBN-13: 9781786460011
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
undefined
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime

Authors (2)

author image
Ravi Kumar Gupta

Ravi Kumar Gupta is an author, reviewer, and open source software evangelist. He pursued an MS degree in software system at BITS Pilani and a B.Tech at LNMIIT, Jaipur. His technological forte is portal management and development. He is currently working with Azilen Technologies, where he acts as a Technical Architect and Project Manager. His previous assignment was as a lead consultant with CIGNEX Datamatics. He was a core member of the open source group at TCS, where he started working on Liferay and other UI technologies. During his career, he has been involved in building enterprise solutions using the latest technologies with rich user interfaces and open source tools. He loves to spend time writing, learning, and discussing new technologies. His interest in search engines and that small project on crawler during college time made him a technology lover. He is one of the authors of Test-Driven JavaScript Development, Packt Publishing. He is an active member of the Liferay forum. He also writes technical articles for his blog at TechD of Computer World (http://techdc.blogspot.in). He has been a Liferay trainer at TCS and CIGNEX, where he has provided training on Liferay 5.x and 6.x versions. He was also a reviewer for Learning Bootstrap, Packt Publishing. He can be reached on Skype at kravigupta, on Twitter at @kravigupta, and on LinkedIn at https://in.linkedin.com/in/kravigupta.
Read more about Ravi Kumar Gupta

author image
Yuvraj Gupta

Yuvraj Gupta is an author and a keen technologist with interest towards Big Data, Data Analytics, Data Visualization, and Cloud Computing. He has been working as a Big Data Consultant primarily in domain of Big Data Testing. He loves to spend time writing on various social platforms. He is an avid gadget lover, a foodie, a sports enthusiast and love to watch tv-series or movies. He always keep himself updated with the latest happenings in technology. He has authored a book titled Kibana Essentials with Packt Publishers. He can be reached at gupta.yuvraj@gmail.com or at LinkedIn www.linkedin.com/in/guptayuvraj.
Read more about Yuvraj Gupta