Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
47 lines (30 sloc) 2.32 KB

ElasticHQ on OpenShift

In this directory you'll find a ready to use ElasticHQ application to deploy in your OpenShift cluster for internal ElasticSearch Logging monitoring.

How to use

  1. Import all required images to your logging namespace. Just make sure that your cluster have access to the docker public registry:
oc import-image nginx-114-rhel7 -n openshift-logging --confirm
oc import-image elastic-hq-proxy --from=elastichq/elasticsearch-hq -n openshift-logging --confirm

Please note that in some OpenShift 3.x installations the logging namespace may vary. Make sure to use the correct one when importing this template. The templates and files in this repository are using the default openshift-logging namespace, if you are using a different one make sure to add the parameter -p LOGGING_NAMESPACE=<your-logging-namespace-name> and to alter the NGINX file configuration appropriately.

  1. Clone this repository
git clone
  1. Process and create the application inside your logging namespace. Your cluster must have access to the GitHub. If not, just import this repository to your internal one and parameterize the template.
oc project openshift-logging
oc process -f elasticsearch-HQ/openshift/elastic-hq-template.yaml -p LOGGING_NAMESPACE=openshift-logging | oc apply -f -

Without GitHub access:

oc project openshift-logging
oc process -f elasticsearch-HQ/openshift/elastic-hq-template.yaml PROXY_GIT_REPO=<your-repo-url> -p LOGGING_NAMESPACE=openshift-logging | oc apply -f -
  1. A new build should start, otherwise just run
oc start-build elastic-hq-proxy
  1. Now, access the ElasticHQ application using the route created by the template and connect to http://localhost:8080. Voilà! You have your internal ElasticSearch Logging monitored by ElasticHQ.

More information

An article detailing the background info and the motivation behind deploying ElasticHQ on OpenShift using this approach is published in Medium.

You can’t perform that action at this time.