/
Install head tool for elasticsearch5 in a bucket

Install head tool for elasticsearch5 in a bucket

Elasticsearch 5.x has removed the concept of site plugins. The purpose of this KB is to show how you can still install and serve the head plugin as static objects from an S3 bucket.

Instructions

step-by-step guide:

  1. Download the head plugin from https://support.cloud.caringo.com/tools/elasticsearch5-head.tgz

  2. Install s3cmd , on CentOS/RHEL7 simply type yum install s3cmd and then s3cmd --configure to configure it.
  3. Create an S3 bucket called "head" 

    s3cmd mb s3://head
  4. Untar the head plugin locally

    cd head; tar xvzf elasticsearch5-head.tgz
  5. Upload all the files to your S3 bucket

    s3cmd sync . s3://head --no-mime-magic

    now you can access it using http://FQDN/head/index.html
    For Example: http://s3.demo.sales.local/head/index.html

    You can also pre-populated the target elasticsearch node with the base_uri queryArgument

    For Example: http://s3.demo.sales.local/head/index.html?base_uri=http://172.30.2.234:9200

    Keep in mind that most browsers wont allow mixed content loading between SSL and HTTP (aka CORS) , and elasticsearch port 9200 is HTTP not SSL !!
    so for example this wont work: https://s3.demo.sales.local/head/index.html?base_uri=http://172.30.2.234:9200







Related content

S3 Protocol Configuration
S3 Protocol Configuration
More like this
Custom Metadata Typing
Custom Metadata Typing
More like this
Configuring Elasticsearch 2.3.3
Configuring Elasticsearch 2.3.3
More like this
Elasticsearch queries- direct to ES
Elasticsearch queries- direct to ES
More like this
Upgrading Elasticsearch
Upgrading Elasticsearch
More like this
Custom Metadata Headers
Custom Metadata Headers
More like this

© DataCore Software Corporation. · https://www.datacore.com · All rights reserved.