Master Elasticvue: A Lightweight GUI for Fast Elasticsearch Index Management
This guide walks you through installing the lightweight Elasticvue GUI, configuring an Elasticsearch cluster, creating and mapping an index via the built‑in REST console, adding sample documents, and browsing the index data, providing a practical alternative to the heavier Kibana tool.
Why Choose Elasticvue?
Many developers use Kibana for Elasticsearch, but its heavy UI can be cumbersome. Elasticvue offers a lightweight yet powerful graphical interface for managing Elasticsearch clusters, indexes, and data.
1. Download and Install
Visit the Elasticvue download page and obtain the appropriate installer for your OS (e.g., the .dmg file for macOS). After installation, launch the application to see the main window.
2. Configure a Cluster
Click Add Elasticsearch Cluster , select an authentication method (no auth, username/password, or API key), and then press Test Connection . A success message confirms the cluster is reachable, and the dashboard displays node information, health status, and quick‑access tabs such as Nodes, Shards, Indices, Search, REST, Snapshots, and Settings.
3. Create an Index
In Elasticvue’s REST console, send a PUT request with a JSON body that defines mappings. The following example creates an index assetstestdataresources.filecenter.directory with several fields (text, keyword, date) and their sub‑fields.
PUT /assetstestdataresources.filecenter.directory
{
"mappings": {
"properties": {
"dir_name": { "type": "text", "fields": { "keyword": { "type": "keyword" } } },
"entity_type": { "type": "keyword" },
"entity_id": { "type": "keyword" },
"add_time": { "type": "date", "format": "yyyy-MM-dd HH:mm:ss||epoch_millis" },
"u_time": { "type": "date", "format": "yyyy-MM-dd HH:mm:ss||epoch_millis" },
"tags": { "type": "text", "fields": { "keyword": { "type": "keyword" } } }
}
}
}The PUT method creates or updates the index, and the mappings section defines the document schema.
4. Use the REST Interface
Copy the JSON from the example into the left‑hand editor, click the REST button, and submit the request. The right‑hand pane returns the response confirming the index creation.
5. Add Documents
Insert data with a POST (or PUT) request to /_doc/<document‑id>. Below is a sample payload adding one document to the newly created index.
POST /assetstestdataresources.filecenter.directory/_doc/1
{
"dir_name": "供应商:KHBH-20241016-0001",
"entity_type": "info_supplier",
"entity_id": "1",
"add_time": "2024-11-06 10:59:00",
"u_time": "2024-11-06 10:59:00",
"tags": ["供应商", "2024年", "新合作"]
}6. Browse the Index
Navigate to the Indices tab, select the example index, and view all stored documents. Use the action button on the right to inspect individual document details.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Su San Talks Tech
Su San, former staff at several leading tech companies, is a top creator on Juejin and a premium creator on CSDN, and runs the free coding practice site www.susan.net.cn.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
