Install and deploy Elasticsearch and Kibana to support HCL Compass dashboards for business analytics

Business analytics and dashboard support is offered as part of a technical preview. Support will be provided on a best effort basis.

Before you begin

To install and deploy analytic tools for HCL Compass, note the following:

About this task

Procedure

  1. Deploy the Elasticsearch container.
    docker run -d --name hcl-compass-elasticsearch -h hcl-compass-elasticsearch \
      --env "discovery.type=single-node" \
      -p 9200:9200 -p 9600:9600  amazon/opendistro-for-elasticsearch:latest
  2. Deploy the Kibana container.
    docker run -d --name hcl-compass-kibana --link hcl-compass-elasticsearch -h hcl-compass-kibana \
      --env ELASTICSEARCH_URL=https://hcl-compass-elasticsearch:9200 \
      --env ELASTICSEARCH_HOSTS=https://hcl-compass-elasticsearch:9200 \
      -p 5601:5601  amazon/opendistro-for-elasticsearch-kibana:latest
  3. Deploy the Nginx container.
    docker run -d --name hcl-compass-nginx --link hcl-compass-kibana --link hcl-compass-elasticsearch -h hcl-compass-nginx \
      --env NGINX_SERVER_NAME=hcl-compass-nginx \
      --env KIBANA_HOSTS=http://hcl-compass-kibana:5601 \
      -p 5602:5602 -p 5603:5603 -p 80:80 -p 8091:9081 \
      hclcr.io/sofy/services/hcl-compass/hcl-compass-nginx:2.0.3
  4. Add the following settings to the docker hcl-compass run command as described in Getting started with Docker :
    --link hcl-compass-elasticsearch \
    --link hcl-compass-kibana \
    --link hcl-compass-nginx \
    --env ELASTICSEARCH_HOSTS=https://hcl-compass-elasticsearch:9200 \
    --env NGINX_HOSTS=https://hcl-compass-nginx:5602 \