Elasticsearch gui for your browser https://elasticvue.com
Contents
Elasticvue is a gui for elasticsearch allowing you to search and filter your clusters data right in your browser. Screenshots
It officially works with the following elasticsearch versions:
5.6
6.8
7.x
Other versions might or might not work depending on the features you use.
You can use one of the following ways to run elasticvue:
Browser extensions
Start elasticvue by clicking on the icon in your toolbar.
Docker
Use the existing image:
docker run -p 8080:8080 -d cars10/elasticvue
Image at Docker Hub (~50mb compressed)Or build the image locally:
git clone https://github.com/cars10/elasticvue.git
cd elasticvue
docker build -t elasticvue .
docker run -p 8080:8080 elasticvue
Or use docker-compose
:
docker-compose up -d
Then open http://localhost:8080 in your browser.
Online version
Visit http://app.elasticvue.com or https://app.elasticvue.com.
Run locally
git clone https://github.com/cars10/elasticvue.git
cd elasticvue
yarn install
yarn prod
or dev server yarn serve
Alternatively run yarn build
and host the assets yourself. Example nginx config:
server {
listen 80;
server_name yourdomain.com;
root /var/www/elasticvue_app/dist;
location / {
try_files $uri $uri/ /index.html?$args;
}
}
See the official vuejs deployment guide for more details.
You have to enable CORS to allow connection to your elasticsearch cluster if you do not use the browser extensions.
Find your elasticsearch configuration (for example /etc/elasticsearch/elasticsearch.yml
) and add the following lines:
# enable CORS
http.cors.enabled: true
# Then set the allowed origins based on how you run elasticvue. Chose only one:
# for docker / running locally
http.cors.allow-origin: "http://localhost:8080"
# online version
http.cors.allow-origin: /https?:\/\/app.elasticvue.com/
# and if your cluster uses authorization you also have to add:
http.cors.allow-headers: X-Requested-With,Content-Type,Content-Length,Authorization
If you use docker to run your elasticsearch cluster you can pass the options via environment variables:
docker run -p 9200:9200 \
-e "http.cors.enabled=true" \
-e "http.cors.allow-origin=/.*/" \
elasticsearch
This also works for docker-compose
:
services:
elasticsearch:
image: elasticsearch
environment:
- http.cors.enabled=true
- http.cors.allow-origin=/.*/
ports:
- 9200:9200
After configuration restart your cluster and you should be able to connect.
Please use an up-to-date version of:
Before opening an issue please try to reset elasticvue to its default settings. To do so, click
Disconnect and reset
in the footer. This will reset all your saved filters and you have to reconnect to your cluster.
Feel free to open an issue if your problem persists.
See the Wiki. Comparing to other frontends
Setup and running
# clone
git clone https://github.com/cars10/elasticvue.git
cd elasticvue
# install dependencies
yarn install
# serve with hot reload at localhost:8080
yarn serve
# tests
yarn test:unit # add --watch to watch test files
# for e2e tests you need a running elasticsearch server on port 9123
yarn test:e2e # add --headless for headless mode
Other commands
# linting
yarn lint
# minimized build for production
yarn build
# create bundle size report at dist/report.html, dist/legacy-report.html
yarn build --report
Building the chrome/firefox extensions: (Hint: you need web-ext for the firefox extension to build)
yarn build_browser_extensions
See CONTRIBUTING.md.
MIT
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。