Book Image

ElasticSearch Cookbook

By : Alberto Paro
Book Image

ElasticSearch Cookbook

By: Alberto Paro

Overview of this book

Table of Contents (20 chapters)
ElasticSearch Cookbook Second Edition
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Installing and using ElasticSearch Head


The previous plugin allows us to monitor all cluster/node statistics. ElasticSearch Head by Ben Birch mainly focuses on data management of your cluster. It allows you to manage your data and the shards of your cluster via a nice web interface; using it is way faster than using the curl command.

Getting ready

You need a working ElasticSearch cluster and a modern HTML5 browser.

How to do it...

To install the Head plugin, we will perform the following steps:

  1. The ElasticSearch Head plugin is a type of site plugin; it is composed only of HTML, CSS, images, and JavaScript. It can be installed by using the following command:

    bin/plugin -install mobz/elasticsearch-head
    
  2. After a node restart, if everything goes well, it should appear in the sites list, as follows:

    [INFO ][node] [Cassidy, Theresa] version[0.90.3], pid[37214], build[5c38d60/2013-08-08T12:28:31Z]
    [INFO ][node] [Cassidy, Theresa] initializing ...
    [INFO ][plugins] [Cassidy, Theresa] loaded [], sites [head...