Docs / Elasticsearch and OpenSearch

← Databases

Elasticsearch and OpenSearch

One driver talks to both over their HTTP API (reqwest with rustls). The server says which it is when you connect, and the connection shows it (Connected: OpenSearch 2.17.1). The driver is part of the app; nothing is downloaded.

Connect

You pasteRead as
elasticsearch://user:pass@host:9200/logs-*plain HTTP; the path is an index pattern
elasticsearchs://user:pass@host:9200HTTPS (verified: verify-full)
opensearch://… and opensearchs://…the same, remembered as OpenSearch so the URL is written back that way

The default port is 9200. The Database field is an optional index pattern (logs-*, or several separated by commas) that narrows what the navigator lists; empty lists every index that is not hidden.

Privileges

The ones the requests need. The navigator reads the indices, aliases, data streams and mappings the login can see; there are no administration tabs.

What works

What does not

Agents

run_query and sample_rows work with console requests and SQL, and a request that changes data is asked about first. Refused on Elasticsearch and OpenSearch: explain, get_er_diagram, propose_edits and query_across_databases. See Agents and the CLI.

Known limits

Tested on

The conformance suite runs on Elasticsearch 8.15.3 (login elastic) and OpenSearch 2.17.1: server info, SQL with types and paging, searches that page past one page, the catalog and mappings, saving the grid's changes and undoing them, cancel of a slow search, and the server's errors.

See also: Connecting, Troubleshooting.