Elasticvue usage

Before using elasticvue you have to configure your elasticsearch server according to how you want to use elasticvue.

Elasticvue usage

There are several ways of running elasticvue, chose what works best for you.

Web app

This is the easiest way to use elasticvue.

app.elasticvue.com

Chrome extension

Elasticvue is available as a chrome extension:

Chrome webstore

firefox-logo Firefox addon

Elasticvue is available as a firefox addon:

Firefox addon

Docker image (prebuilt)

Download and run the image, then open http://localhost:8080:

docker run -p 8080:8080 \
           -d cars10/elasticvue

Docker image (build)

Clone the repository, build and open http://localhost:8080:

docker build -t elasticvue .
docker run -p 8080:8080 \
           -d cars10/elasticvue

Building manually

Clone and build the repository, then open http://localhost:8080:

yarn install
yarn prod

Cluster configuration

Configure your elasticsearch server

To use elasticvue you have to enable CORS, otherwise the browser will reject all requests. To enable CORS add the following to your elasticsearch configuration, based on how you run elasticvue:

# /etc/elasticsearch/elasticsearch.yml
http.cors.enabled: true
http.cors.allow-origin: <origin-url>
Configuration example
# Enable CORS
http.cors.enabled: true

# then set one origin:
# for docker / running locally
http.cors.allow-origin: "http://localhost:8080"
# web app
http.cors.allow-origin: /https?://app.elasticvue.com/
# chrome extension
http.cors.allow-origin: "chrome-extension://hkedbapjpblbodpgbajblpnlpenaebaa"
# firefox addon
http.cors.allow-origin: "moz-extension://<addon-url>"
Back to top