Skip to content

Elasticsearch Inspector

Inspect Elasticsearch cluster health, browse indices, and execute search queries.

Features

FeatureDescription
Cluster healthGreen/yellow/red status
Indices listAll indices with document counts and sizes
Index detailsMappings, settings, and statistics
SearchExecute search queries against an index
Raw queryRun arbitrary Elasticsearch API requests

Execute Elasticsearch queries against any index. Specify the index, query body, limit, and offset. Results are displayed with document source data.

Raw Query

For advanced use, execute any Elasticsearch API request by specifying the HTTP method, endpoint, and optional body.

API Endpoints

MethodPathDescription
GET/inspect/api/elasticsearchCluster health + indices list
GET/inspect/api/elasticsearch/{name}Index mappings, settings, stats
POST/inspect/api/elasticsearch/searchSearch query against an index
POST/inspect/api/elasticsearch/queryRaw Elasticsearch API request

Search request body:

json
{
    "index": "products",
    "query": {"match": {"name": "widget"}},
    "limit": 10,
    "offset": 0
}

Raw query request body:

json
{
    "method": "GET",
    "endpoint": "/_cluster/stats",
    "body": null
}

Requirements

Requires an ElasticsearchProviderInterfaceAppDevPanel\Api\Inspector\Elasticsearch\ElasticsearchProviderInterfaceElasticsearch Provider contract.API · interface implementation in the DI container. Each adapter provides its own implementation based on the Elasticsearch client library in use.

Released under the MIT License.