Plugins can have “sites” in them, any plugin that exists under the plugins directory with a
_site
directory, its content will be statically served when hitting/_plugin/[plugin_name]/
url. Those can be added even after the process has started.
— http://www.elasticsearch.org/guide/reference/modules/plugins.html
elasticsearch plugins which don't contain any Java files are identified as “site” plugins, and their content is served as static files.
This makes it easy to create small, self-contained HTML applications for elasticsearch, just like this one.
You can either simply copy the index.html
file to $ES_HOME/plugins/hello-elasticsearch/_site
directory,
or use the plugin
script included with elasticsearch installation:
plugin -install hello-elasticsearch -url https://raw.github.com/gist/3381710/hello-elasticsearch.zip
The application will be available at http://localhost:9200/_plugin/hello-elasticsearch/index.html.
I can't download from https://gist.github.com/gists/dc733632435da2149963/download
I can't using a command.
curl -# -L -k https://gist.github.com/gists/dc733632435da2149963/download | tar xv --strip=1 -C /tmp/hello-elasticsearch
Please update the hello-elasticsearch.zip