Script Development / elasticsearch
The elasticsearch Connector primarily provides methods to interact with elasticsearch.
This Connector is based on HTTP protocol
DFF.CONN(...) parameters are as follows:
| Parameter | Type | Required / Default | Description |
|---|---|---|---|
connector_id |
str | Required | Connector ID |
.query(...)
Sends an HTTP request to elasticsearch, with the following parameters:
| Parameter | Type | Required / Default | Description |
|---|---|---|---|
method |
str | Required | Request method: GET, POST, etc |
path |
str | None |
Request path |
query |
dict | None |
Request URL parameters |
body |
dict | None |
Request body |
| Example | |
|---|---|
1 2 3 | |
For specific query syntax and formats, please refer to the official elasticsearch documentation.