es_request
Send arbitrary Elasticsearch REST API requests with any method and path, returning HTTP status and body; use string bodies for NDJSON bulk or multi-search operations.
Instructions
Generic Elasticsearch REST passthrough: any method, any path. Returns {status, body}. A 4xx/5xx answer is returned as an error: "HTTP : " plus the trimmed body. Use a string body for NDJSON (_bulk, _msearch). On readonly connections only reads pass: GET, HEAD, POST [/]/_search|_msearch|_count|_field_caps|_pit, POST /_search/scroll, DELETE /_pit and /_search/scroll.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| path | Yes | path from the ES root, e.g. '/idx/_search' | |
| method | Yes | ||
| params | No | ||
| connection | Yes | connection name, see list_connections |