Creating a site plugin
The site plugins do not add internal functionalities to ElasticSearch. They mainly are HTML web applications that work at the top of ElasticSearch. They generally provide high-level functionalities such as monitoring and administration. In Chapter 9, Cluster and Nodes Monitoring we already saw several kinds of site plugin: ElasticSearch-head and BigDesk.
Getting ready
You need a working ElasticSearch node, a web browser, and your preferred HTML editor.
How to do it...
For creating a site plugin, we need to perform the following steps:
- The site plugin is one of the easiest ones to develop. It is mainly a standard web application composed by only HTML, JavaScript, and images. The easiest one is composed by the following
index.html
page:<!DOCTYPE html> <html> <head> <title>Simle site plugin</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link href="http://netdna.bootstrapcdn...