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

Creating a site plugin


Site plugins do not add internal functionalities to ElasticSearch. They are HTML-based web applications that work on top of ElasticSearch. They generally provide frontend functionalities, such as monitoring and administration. In Chapter 9, Cluster and Node Monitoring, we saw the use of several site plugins such as ElasticSearch Head and BigDesk.

Getting ready

You will need a working ElasticSearch node, a web browser, and your preferred HTML editor.

How to do it...

In order to create a site plugin, perform the following steps:

  1. The site plugin is one of the most easy plugins to develop. It is mainly a standard web application composed of only HTML, JavaScript, and images.The simplest plugin is composed of a single index.html page, as shown here:

    <!DOCTYPE html>
    <html>
      <head>
        <title>Simple site plugin</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <link href="http://netdna.bootstrapcdn.com...