add_connection
Create a named Elasticsearch connection saved globally or in the project's .esmole.json, using user/password or API key auth and optional SSH tunnel, read-only mode, scheme, and TLS verification.
Instructions
Add a named Elasticsearch connection. scope "global" (default) saves it to the user store; "project" saves it to .esmole.json in the project root. Auth via user/password or apiKey; optional ssh tunnel, readonly flag, scheme and verifyTls.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ssh | No | ||
| host | Yes | ||
| name | Yes | ||
| port | No | ||
| type | No | elasticsearch | |
| user | No | ||
| scope | No | global | |
| apiKey | No | ||
| scheme | No | https | |
| password | No | ||
| readonly | No | ||
| verifyTls | No | ||
| queryTimeoutMs | No |