Elasticsearch

Search, index, and manage data in Elasticsearch

Configuration

Operation
Search
Deployment Type
Select...
Elasticsearch Host*
https://localhost:9200
Cloud ID*
deployment-name:base64-encoded-data
Authentication Method
Select...
API Key*
••••••••
Username*
Enter username
Password*
••••••••
Index Name*
my-index
Search Query
json
{ "match": { "field": "search term" } }
Number of Results
10
Offset
0
Sort
json
[{ "field": { "order": "asc" } }]
Fields to Include
field1, field2 (comma-separated)
Fields to Exclude
field1, field2 (comma-separated)
Search (elasticsearch_search)

Search documents in Elasticsearch using Query DSL. Returns matching documents with scores and metadata.

Input
ParameterTypeRequiredDescription
deploymentTypestringYesDeployment type: self_hosted or cloud
hoststringNoElasticsearch host URL (for self-hosted)
cloudIdstringNoElastic Cloud ID (for cloud deployments)
authMethodstringYesAuthentication method: api_key or basic_auth
apiKeystringNoElasticsearch API key
usernamestringNoUsername for basic auth
passwordstringNoPassword for basic auth
indexstringYesIndex name to search
querystringNoQuery DSL as JSON string
fromnumberNoStarting offset for pagination (default: 0)
sizenumberNoNumber of results to return (default: 10)
sortstringNoSort specification as JSON string
sourceIncludesstringNoComma-separated list of fields to include in _source
sourceExcludesstringNoComma-separated list of fields to exclude from _source
trackTotalHitsbooleanNoTrack accurate total hit count (default: true)
Output
ParameterTypeDescription
tooknumberTime in milliseconds the search took
timed_outbooleanWhether the search timed out
hitsobjectSearch results with total count and matching documents

Index Document

Operation
Index Document
Deployment Type
Select...
Elasticsearch Host*
https://localhost:9200
Cloud ID*
deployment-name:base64-encoded-data
Authentication Method
Select...
API Key*
••••••••
Username*
Enter username
Password*
••••••••
Index Name*
my-index
Document ID
Leave empty for auto-generated ID
Document*
json
{ "field": "value", "another_field": 123 }
Refresh
Select...
Index Document (elasticsearch_index_document)

Index (create or update) a document in Elasticsearch.

Input
ParameterTypeRequiredDescription
deploymentTypestringYesDeployment type: self_hosted or cloud
hoststringNoElasticsearch host URL (for self-hosted)
cloudIdstringNoElastic Cloud ID (for cloud deployments)
authMethodstringYesAuthentication method: api_key or basic_auth
apiKeystringNoElasticsearch API key
usernamestringNoUsername for basic auth
passwordstringNoPassword for basic auth
indexstringYesTarget index name
documentIdstringNoDocument ID (auto-generated if not provided)
documentstringYesDocument body as JSON string
refreshstringNoRefresh policy: true, false, or wait_for
Output
ParameterTypeDescription
_indexstringIndex where the document was stored
_idstringDocument ID
_versionnumberDocument version

Get Document

Operation
Get Document
Deployment Type
Select...
Elasticsearch Host*
https://localhost:9200
Cloud ID*
deployment-name:base64-encoded-data
Authentication Method
Select...
API Key*
••••••••
Username*
Enter username
Password*
••••••••
Index Name*
my-index
Document ID*
unique-document-id
Fields to Include
field1, field2 (comma-separated)
Fields to Exclude
field1, field2 (comma-separated)
Get Document (elasticsearch_get_document)

Retrieve a document by ID from Elasticsearch.

Input
ParameterTypeRequiredDescription
deploymentTypestringYesDeployment type: self_hosted or cloud
hoststringNoElasticsearch host URL (for self-hosted)
cloudIdstringNoElastic Cloud ID (for cloud deployments)
authMethodstringYesAuthentication method: api_key or basic_auth
apiKeystringNoElasticsearch API key
usernamestringNoUsername for basic auth
passwordstringNoPassword for basic auth
indexstringYesIndex name
documentIdstringYesDocument ID to retrieve
sourceIncludesstringNoComma-separated list of fields to include
sourceExcludesstringNoComma-separated list of fields to exclude
Output
ParameterTypeDescription
_indexstringIndex name
_idstringDocument ID
_versionnumberDocument version
foundbooleanWhether the document was found

Update Document

Operation
Update Document
Deployment Type
Select...
Elasticsearch Host*
https://localhost:9200
Cloud ID*
deployment-name:base64-encoded-data
Authentication Method
Select...
API Key*
••••••••
Username*
Enter username
Password*
••••••••
Index Name*
my-index
Document ID*
unique-document-id
Partial Document*
json
{ "field_to_update": "new_value" }
Retry on Conflict
3
Update Document (elasticsearch_update_document)

Partially update a document in Elasticsearch using doc merge.

Input
ParameterTypeRequiredDescription
deploymentTypestringYesDeployment type: self_hosted or cloud
hoststringNoElasticsearch host URL (for self-hosted)
cloudIdstringNoElastic Cloud ID (for cloud deployments)
authMethodstringYesAuthentication method: api_key or basic_auth
apiKeystringNoElasticsearch API key
usernamestringNoUsername for basic auth
passwordstringNoPassword for basic auth
indexstringYesIndex name
documentIdstringYesDocument ID to update
documentstringYesPartial document to merge as JSON string
retryOnConflictnumberNoNumber of retries on version conflict
Output
ParameterTypeDescription
_indexstringIndex name
_idstringDocument ID
_versionnumberNew document version

Delete Document

Operation
Delete Document
Deployment Type
Select...
Elasticsearch Host*
https://localhost:9200
Cloud ID*
deployment-name:base64-encoded-data
Authentication Method
Select...
API Key*
••••••••
Username*
Enter username
Password*
••••••••
Index Name*
my-index
Document ID*
unique-document-id
Refresh
Select...
Delete Document (elasticsearch_delete_document)

Delete a document from Elasticsearch by ID.

Input
ParameterTypeRequiredDescription
deploymentTypestringYesDeployment type: self_hosted or cloud
hoststringNoElasticsearch host URL (for self-hosted)
cloudIdstringNoElastic Cloud ID (for cloud deployments)
authMethodstringYesAuthentication method: api_key or basic_auth
apiKeystringNoElasticsearch API key
usernamestringNoUsername for basic auth
passwordstringNoPassword for basic auth
indexstringYesIndex name
documentIdstringYesDocument ID to delete
refreshstringNoRefresh policy: true, false, or wait_for
Output
ParameterTypeDescription
_indexstringIndex name
_idstringDocument ID
_versionnumberDocument version

Bulk Operations

Operation
Bulk Operations
Deployment Type
Select...
Elasticsearch Host*
https://localhost:9200
Cloud ID*
deployment-name:base64-encoded-data
Authentication Method
Select...
API Key*
••••••••
Username*
Enter username
Password*
••••••••
Index Name*
my-index
Bulk Operations*
json
{ "index": { "_index": "my-index", "_id": "1" } }\n{ "field": "value" }\n{ "delete": { "_index": "my-index", "_id": "2" } }
Refresh
Select...
Bulk Operations (elasticsearch_bulk)

Perform multiple index, create, delete, or update operations in a single request for high performance.

Input
ParameterTypeRequiredDescription
deploymentTypestringYesDeployment type: self_hosted or cloud
hoststringNoElasticsearch host URL (for self-hosted)
cloudIdstringNoElastic Cloud ID (for cloud deployments)
authMethodstringYesAuthentication method: api_key or basic_auth
apiKeystringNoElasticsearch API key
usernamestringNoUsername for basic auth
passwordstringNoPassword for basic auth
indexstringNoDefault index for operations that do not specify one
operationsstringYesBulk operations as NDJSON string (newline-delimited JSON)
refreshstringNoRefresh policy: true, false, or wait_for
Output
ParameterTypeDescription
tooknumberTime in milliseconds the bulk operation took
errorsbooleanWhether any operation had an error

Count Documents

Operation
Count Documents
Deployment Type
Select...
Elasticsearch Host*
https://localhost:9200
Cloud ID*
deployment-name:base64-encoded-data
Authentication Method
Select...
API Key*
••••••••
Username*
Enter username
Password*
••••••••
Index Name*
my-index
Query
json
{ "match": { "field": "value" } }
Count Documents (elasticsearch_count)

Count documents matching a query in Elasticsearch.

Input
ParameterTypeRequiredDescription
deploymentTypestringYesDeployment type: self_hosted or cloud
hoststringNoElasticsearch host URL (for self-hosted)
cloudIdstringNoElastic Cloud ID (for cloud deployments)
authMethodstringYesAuthentication method: api_key or basic_auth
apiKeystringNoElasticsearch API key
usernamestringNoUsername for basic auth
passwordstringNoPassword for basic auth
indexstringYesIndex name to count documents in
querystringNoOptional query to filter documents (JSON string)
Output
ParameterTypeDescription
countnumberNumber of documents matching the query

Create Index

Operation
Create Index
Deployment Type
Select...
Elasticsearch Host*
https://localhost:9200
Cloud ID*
deployment-name:base64-encoded-data
Authentication Method
Select...
API Key*
••••••••
Username*
Enter username
Password*
••••••••
Index Name*
my-index
Index Settings
json
{ "number_of_shards": 1, "number_of_replicas": 1 }
Index Mappings
json
{ "properties": { "field": { "type": "text" } } }
Create Index (elasticsearch_create_index)

Create a new index with optional settings and mappings.

Input
ParameterTypeRequiredDescription
deploymentTypestringYesDeployment type: self_hosted or cloud
hoststringNoElasticsearch host URL (for self-hosted)
cloudIdstringNoElastic Cloud ID (for cloud deployments)
authMethodstringYesAuthentication method: api_key or basic_auth
apiKeystringNoElasticsearch API key
usernamestringNoUsername for basic auth
passwordstringNoPassword for basic auth
indexstringYesIndex name to create
settingsstringNoIndex settings as JSON string
mappingsstringNoIndex mappings as JSON string
Output
ParameterTypeDescription
acknowledgedbooleanWhether the request was acknowledged
shards_acknowledgedbooleanWhether the shards were acknowledged

Delete Index

Operation
Delete Index
Deployment Type
Select...
Elasticsearch Host*
https://localhost:9200
Cloud ID*
deployment-name:base64-encoded-data
Authentication Method
Select...
API Key*
••••••••
Username*
Enter username
Password*
••••••••
Index Name*
my-index
Delete Index (elasticsearch_delete_index)

Delete an index and all its documents. This operation is irreversible.

Input
ParameterTypeRequiredDescription
deploymentTypestringYesDeployment type: self_hosted or cloud
hoststringNoElasticsearch host URL (for self-hosted)
cloudIdstringNoElastic Cloud ID (for cloud deployments)
authMethodstringYesAuthentication method: api_key or basic_auth
apiKeystringNoElasticsearch API key
usernamestringNoUsername for basic auth
passwordstringNoPassword for basic auth
indexstringYesIndex name to delete
Output

Refer to the block outputs for this operation.


Get Index Info

Operation
Get Index Info
Deployment Type
Select...
Elasticsearch Host*
https://localhost:9200
Cloud ID*
deployment-name:base64-encoded-data
Authentication Method
Select...
API Key*
••••••••
Username*
Enter username
Password*
••••••••
Index Name*
my-index
Get Index Info (elasticsearch_get_index)

Retrieve index information including settings, mappings, and aliases.

Input
ParameterTypeRequiredDescription
deploymentTypestringYesDeployment type: self_hosted or cloud
hoststringNoElasticsearch host URL (for self-hosted)
cloudIdstringNoElastic Cloud ID (for cloud deployments)
authMethodstringYesAuthentication method: api_key or basic_auth
apiKeystringNoElasticsearch API key
usernamestringNoUsername for basic auth
passwordstringNoPassword for basic auth
indexstringYesIndex name to retrieve info for
Output

Refer to the block outputs for this operation.


Cluster Health

Operation
Cluster Health
Deployment Type
Select...
Elasticsearch Host*
https://localhost:9200
Cloud ID*
deployment-name:base64-encoded-data
Authentication Method
Select...
API Key*
••••••••
Username*
Enter username
Password*
••••••••
Wait for Status
Select...
Timeout (seconds)
30
Cluster Health (elasticsearch_cluster_health)

Get the health status of the Elasticsearch cluster.

Input
ParameterTypeRequiredDescription
deploymentTypestringYesDeployment type: self_hosted or cloud
hoststringNoElasticsearch host URL (for self-hosted)
cloudIdstringNoElastic Cloud ID (for cloud deployments)
authMethodstringYesAuthentication method: api_key or basic_auth
apiKeystringNoElasticsearch API key
usernamestringNoUsername for basic auth
passwordstringNoPassword for basic auth
waitForStatusstringNoWait until cluster reaches this status: green, yellow, or red
timeoutstringNoTimeout for the wait operation (e.g., 30s, 1m)
Output
ParameterTypeDescription
cluster_namestringName of the cluster
statusstringCluster health status: green, yellow, or red
number_of_nodesnumberTotal number of nodes in the cluster
number_of_data_nodesnumberNumber of data nodes
active_shardsnumberNumber of active shards

Cluster Stats

Operation
Cluster Stats
Deployment Type
Select...
Elasticsearch Host*
https://localhost:9200
Cloud ID*
deployment-name:base64-encoded-data
Authentication Method
Select...
API Key*
••••••••
Username*
Enter username
Password*
••••••••
Cluster Stats (elasticsearch_cluster_stats)

Get comprehensive statistics about the Elasticsearch cluster.

Input
ParameterTypeRequiredDescription
deploymentTypestringYesDeployment type: self_hosted or cloud
hoststringNoElasticsearch host URL (for self-hosted)
cloudIdstringNoElastic Cloud ID (for cloud deployments)
authMethodstringYesAuthentication method: api_key or basic_auth
apiKeystringNoElasticsearch API key
usernamestringNoUsername for basic auth
passwordstringNoPassword for basic auth
Output
ParameterTypeDescription
cluster_namestringName of the cluster
statusstringCluster health status
nodesobjectNode statistics including count and versions

Usage Instructions

Integrate Elasticsearch into workflows for powerful search, indexing, and data management. Supports document CRUD operations, advanced search queries, bulk operations, index management, and cluster monitoring. Works with both self-hosted and Elastic Cloud deployments.

Notes

  • Category: tools
  • Type: elasticsearch