cars10/elasticvue
Über uns
Grafische Benutzeroberfläche für Elasticsearch: Desktop-App, Browser-Erweiterung, Docker und selbst gehostet.
Systeme und InfrastrukturWhat you can do
- 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
Gemessener Sternzuwachs
- in 24h
- +2
- in 7 days
- +9
- in 15 days
- +16
- in 1 month
- +24
Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.
README.md
Originalelasticvue
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
About
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.
Supported versions
- 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.
Features
- 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
Usage
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 |
Desktop App - recommended
Browser extension
Web version
You have to configure your elasticsearch cluster if you want to use the web version
Visit https://app.elasticvue.com.
Self-hosted
You have to configure your elasticsearch cluster if you want to self host elasticvue
Please check the docs for more information.
Docker
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/elasticvue
When 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"
}
]
Possible keys
| 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" |
Clusters without stored secrets
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" }
]
Docker with default clusters in environment variable
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/elasticvue
Docker with default clusters in config file via volume
Example 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/elasticvue
Elasticsearch configuration
You 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,Authorization
If 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.0
or 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.
Tips & Tricks
Deeplink to a cluster
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.
Browser Support
Elasticvue supports the following minimum browser versions:
| Browser | Minimum version |
|---|---|
| Chrome | 111 |
| Edge | 111 |
| Firefox | 115 |
| Safari | 15.4 |
The desktop app requires macOS 10.15 (Catalina) or newer and uses the system webview, so keep Safari updated to at least 15.4. On Windows it uses WebView2, on Linux WebKitGTK.
Troubleshooting
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.
Documentation
See the docs, e.g. for debugging connection issues or accessing clusters using SSL.
i18n
Elasticvue is available in the following languages:
- English
- Chinese (simplified)
- Chinese (traditional)
- French
- Italian
- Japanese
- Korean
- Russian
Contributing
See CONTRIBUTING.md.
License
MIT
Ähnliche Projekte entdecken
Wird geladen…
