Elasticsearch gui for your browser https://elasticvue.com
Elasticsearch is a trademark of Elasticsearch BV, registered in the U.S. and in other countries.
Contents
- About
- Usage
- Elasticsearch configuration
- Tips & Tricks
- Browser support
- Troubleshooting
- Documentation
- i18n
- Contributing
Elasticvue is a free and open-source gui for elasticsearch that you can use to manage the data in your cluster. It supports every version of elasticsearch, even those that are EOL. Check the FAQ for more details.
- Elasticsearch 7, 8 and 9 are fully supported. Older versions (1 to 6) work, but are EOL and only receive limited support.
- OpenSearch 1, 2 and 3 are supported for all features that elasticvue also offers for elasticsearch. There are no OpenSearch specific features, and features that only exist in elasticsearch or work too differently in OpenSearch (e.g. users, roles and snapshot policies) are disabled.
- Other elasticsearch compatible products are not supported. Elasticvue will try to connect and use the latest elasticsearch api, but some features may not work.
- Dashboard with cluster health and an overview of all your clusters
- Node overview and details
- Index, alias & index template management
- Shard overview, rerouting and recovery
- Searching, filtering and editing documents
- REST queries with a saved query library
- Snapshot, repository & snapshot policy management
- User & role management
- Cluster tools, e.g. allocation, draining nodes, index blocks and disk watermarks
- ... and much more
You can use elasticvue in several ways, use whatever works best for you.
| Type | Auto Update | Cluster config | Support for self signed ssl |
|---|---|---|---|
| Desktop app | Yes | not needed | yes |
| Browser extension | Yes | not needed | partially |
| Web | Yes | required | partially |
| Self hosted | No | required | partially |
| Docker | No | required | partially |
You have to configure your elasticsearch cluster if you want to use the web version
Visit https://app.elasticvue.com.
You have to configure your elasticsearch cluster if you want to self host elasticvue
Please check the docs for more information.
You have to configure your elasticsearch cluster if you want to use elasticvue via docker
Use the existing image:
# docker hub:
docker run -p 8080:8080 --name elasticvue -d cars10/elasticvue
# ghcr.io:
docker run -p 8080:8080 --name elasticvue -d ghcr.io/cars10/elasticvueWhen using docker you can provide default cluster configuration for your users. Clusters will automatically be imported every time you start elasticvue. You can either set an environment variable or provide a config file as a volume. In either case the content should be a json array of your clusters, looking like this:
[
{
"name": "dev cluster",
"uri": "http://localhost:9200"
},
{
"name": "prod cluster",
"uri": "http://localhost:9501",
"username": "elastic",
"password": "foobar"
}
]| Name | Value | Required | Example |
|---|---|---|---|
| name | Name of the cluster | No | "production" |
| uri | Cluster uri | Yes | "http://localhost:9200" |
| username | Username for basic authentication | No | "elastic" |
| password | Password for basic authentication | No | "foobar" |
| apiKey | API key for authentication | No | "VuaCfGcBCdbkQm-e5aOx:ui2lp2axTNm5ShWDc11v6g" |
| S3accessKeyId | AWS access key ID for IAM authentication | No | "AKIAIOSFODNN7EXAMPLE" |
| S3secretAccessKey | AWS secret access key for IAM authentication | No | "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY" |
| S3sessionToken | AWS session token for temporary credentials | No | "FQoGZXIvYXdzE...example" |
| S3region | AWS region for IAM authentication | No | "us-east-1" |
| secretStorage | "session" to never store secrets in the browser. Users are asked for them once per browser session |
No | "session" |
default_clusters.json is readable by everyone who can open elasticvue, so you might not want to put passwords or keys into it. Leave the secret out and elasticvue asks every user for it once per browser session instead. Secrets entered this way are kept in the session storage of the tab and are never written to local storage.
usernamewithoutpassword: asks for the password (the username can be changed on login)S3accessKeyIdandS3regionwithoutS3secretAccessKey: asks for the secret access key and an optional session token"secretStorage": "session": never imports secrets from the config. WithoutusernameorS3accessKeyIdelasticvue asks for an API key
[
{ "name": "prod (admin)", "uri": "https://prod:9200", "username": "admin" },
{ "name": "prod (api key)", "uri": "https://prod:9200", "secretStorage": "session" },
{ "name": "aws", "uri": "https://search-domain.eu-west-1.es.amazonaws.com", "S3accessKeyId": "AKIAIOSFODNN7EXAMPLE", "S3region": "eu-west-1" }
]Example using environment variable ELASTICVUE_CLUSTERS:
docker run -p 8080:8080 -e ELASTICVUE_CLUSTERS='[{"name": "prod cluster", "uri": "http://localhost:9200", "username": "elastic", "password": "elastic"}]' cars10/elasticvueExample using config file volume to /usr/share/nginx/html/api/default_clusters.json:
echo '[{"name": "prod cluster", "uri": "http://localhost:9200", "username": "elastic", "password": "elastic"}]' > config.json
docker run -p 8080:8080 -v config.json:/usr/share/nginx/html/api/default_clusters.json cars10/elasticvueYou have to enable CORS to allow connection to your elasticsearch cluster if you do not use the desktop app or 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. Choose 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,AuthorizationIf you use docker to run your elasticsearch cluster you can pass the options via environment variables:
docker run -p 9200:9200 \
-e "discovery.type=single-node" \
-e "http.cors.enabled=true" \
-e "http.cors.allow-origin=/.*/" \
-e "http.cors.allow-headers=X-Requested-With,Content-Type,Content-Length,Authorization" \
docker.elastic.co/elasticsearch/elasticsearch:9.0.0or compose.yml
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:9.0.0
ports:
- "9200:9200"
environment:
discovery.type: single-node
http.cors.enabled: "true"
http.cors.allow-origin: "/.*/"
http.cors.allow-headers: "X-Requested-With,Content-Type,Content-Length,Authorization"After configuration restart your cluster and you should be able to connect.
If needed you can create a link to a cluster by name, e.g. for internal tooling:
/redirect_to_cluster?name=<cluster name>
Example:
/redirect_to_cluster?name=dev%20cluster
Cluster names are matched case-insensitive. Fallback is the first cluster.
Any current version of Chrome, Firefox and Edge should work without issues. Safari is mostly untested so your mileage may vary.
Before opening an issue please try to reset elasticvue to its default settings:
- Open the settings
- Download a backup of your current elasticvue data
- Click
Disconnect and reset
This will reset all your saved filters, and you have to reconnect to your cluster. Please open an issue if your problem persists.
See the docs, e.g. for debugging connection issues or accessing clusters using SSL.
Elasticvue is available in the following languages:
- English
- Chinese (simplified)
- Chinese (traditional)
- French
- Italian
- Japanese
- Korean
- Russian
See CONTRIBUTING.md.
MIT