HostWebhook Help Center

Connect Elasticsearch to your flows

Connect an Elasticsearch cluster (Elastic Cloud, Serverless or your own), add, read, change and delete documents, search them with fields and values or a query of your own, find the nearest ones by vector or by meaning, run ES|QL and SQL, change many documents at once, set up indices, aliases, data streams, templates and ingest pipelines, send any call of the API, and start a flow when a document arrives or an alert fires.

Time about 20 minutesYou need a HostWebhook account and an Elasticsearch cluster (Elastic Cloud, Serverless or your own, 7.17 or later)Updated November 26, 2026

Connect an Elasticsearch cluster once, and your flows can add, read, change and delete documents, search them with fields and values or with a query of your own, find the nearest ones by vector or by meaning, run ES|QL and SQL, change many documents at once, set up indices, aliases, data streams, templates and ingest pipelines, send any call of the API, and start a flow when a document arrives or an alert fires. It works with Elastic Cloud, Elastic Cloud Serverless and your own cluster, on Elasticsearch 7.17, 8 and 9. To use the same cluster with your AI nodes, see Use your Elasticsearch cluster with your AI nodes.

HostWebhook can do whatever the API key can do.

Give it a key of its own, limited to the indices your flow uses (see step 01).

Connect your cluster

In HostWebhook, click Settings in the left sidebar, then Credentials, and start a new credential. Choose Elasticsearch and give it a name.

Under Connect with, pick how to say where the cluster is:

Connect withWhat you give
EndpointThe address of the cluster, like https://my-cluster.example.com:9200
Cloud IDThe one Elastic Cloud shows for your deployment, like my-deployment:dXMtZWFzdC0x…

Under Authenticate with, pick how HostWebhook signs in:

Authenticate withWhat you give
API keyThe way to go, and the only one Serverless has. Paste the Encoded value Elasticsearch gives you, or the id:api_key pair
User and passwordA user of the cluster and its password
Bearer tokenOnly the token, without the word Bearer
Client certificateThe certificate and its private key, as text. The key can't have a passphrase

Server certificate is how HostWebhook checks the cluster. It is always checked: there is no way to skip it.

Server certificateWhen
The usual public certificatesThe default. Elastic Cloud, Serverless and any cluster with a certificate from a public authority
Paste its CA certificateA cluster with its own certificate. Paste the text of http_ca.crt, starting with -----BEGIN CERTIFICATE-----
Use its SHA-256 fingerprintThe 64 digits Elasticsearch prints when it starts. The cluster has to send its CA; if it doesn't, paste the CA

Click Save Elasticsearch connection. Saving doesn't connect, so open the credential and click Test connection. It asks the cluster three fixed questions and writes nothing, and it answers with one line, like Connected (84ms) · Elasticsearch 8.19.25 · user ana · API key. It also warns you if the key can do everything on the cluster, if security is off, if the cluster is Serverless, or if it is version 7.17 (Elastic ended support for it, and ES|QL and semantic search don't exist there).

Give HostWebhook an API key of its own

In Kibana, open Dev Tools and create a key that reads some indices and writes in one:

Kibana, Dev Tools
POST /_security/api_key
{
"name": "hostwebhook",
"role_descriptors": {
  "hostwebhook": {
    "indices": [
      { "names": ["orders-*"], "privileges": ["read"] },
      { "names": ["orders-2026"], "privileges": ["write"] }
    ]
  }
}
}

Copy the encoded value of the answer into the API key field. On Serverless, or if you prefer the screen, open Stack Management, then API keys in Kibana, turn on Control security privileges, and paste the same role descriptor.

Give it only what your flows use. Searching and reading need read. Indexing, updating, deleting and Bulk need write. A change by query needs both, and Reindex needs read on the source and write on the destination. Use a key with no write for the flows that only search. Never give it a role that can manage the cluster.

Extra headers

Only for a proxy in front of the cluster, like X-Proxy-Token, up to 10. Never put the key here: Authorization and Host are written by HostWebhook. The values are secrets: they come back to the panel only in Edit keys and settings, after you verify it's you, and only for a person who can see them.

HostWebhook only connects to public addresses, and it never follows a redirect. If your cluster is in a private network, see step 02.

Reach a cluster in a private network (optional)

Optional

A cluster that isn't on the internet (a virtual machine, Docker, Kubernetes, a private link) is reached through a tunnel: a small agent that runs inside your network and connects out to HostWebhook, so there is nothing to open on your firewall.

On a machine that can reach the cluster, run:

Terminal
hostwh expose-tcp --target=localhost:9200 --id=prod-elasticsearch

Check in Settings, Tunnels that it says ONLINE. Then, in the credential, pick it under How do we reach it. With a tunnel the address can be http:// and a name of your own network, like http://localhost:9200: the connection goes to your agent and to nothing else.

If you see The Endpoint is not a public address. Reach a cluster in a private network through a tunnel., this is the step. To put, change or remove a tunnel, click Edit keys and settings on the credential (step 12).

Read, add, change and delete documents

In Flows, add an Elasticsearch node and open it. Pick your credential and open Operation. The first group works on documents:

OperationWhat it does
Index documentCreates a document, or replaces the one that has the same ID. Empty ID: Elasticsearch makes one
Get documentOne document by its ID. It says if it was found
Get many documentsSeveral documents by their IDs, up to 1,000. The next nodes run once for each
Document existsTrue or false, without bringing the document
Update documentChanges some fields of a document, or runs a script on it
Delete documentDeletes a document by its ID
BulkMany creates, replaces, updates and deletes at once, from a list (step 07)

Index is chosen from the list HostWebhook reads from your cluster (the indices, aliases and data streams the key can see), or you type it. Most flows use a template, like {{payload.index}}. A name is in lower case, and can't have spaces or start with a dot.

Index document takes the Document as JSON, like {"status": "paid", "total": {{payload.total}}}. Turn on Only create to fail if the ID already exists instead of replacing it. Update document in Partial mode changes the fields you give and keeps the rest.

Index, Update, Delete and Bulk change your cluster.

Run really writes and deletes. Try Get document or Search first to see what you are about to touch.

Two settings you may want:

  • Only if unchanged (Update and Delete) uses the seqNo and primaryTerm that Get document brought. If another change got in first, it fails with The document changed or already exists (version conflict) instead of overwriting it.
  • Wait until searchable makes the answer come when the change shows up in searches. It is slower; use it when the next node searches for what this one wrote. In the changes by query (step 07) the refresh is a bonus after the change: if the key can write but not refresh, the change still happens and the answer says refreshed: false.

A script (Update document in Script mode) is code: put the values of the event in Script parameters and read them as params, like ctx._source.count += params.n with {"n": {{payload.amount}}}. A {{ }} inside the script itself is refused when you save, so the event can never write your code.

Search by vector or by meaning (optional)

Optional

Vector search finds the nearest neighbours of a vector in a dense_vector field. Pick the Vector field (the list shows the fields of that type), then give either the Vector, a list of numbers like [0.12, -0.5, 0.33] or {{payload.embedding}}, or a Model of your cluster and the Text for the model, so the cluster makes the vector. Not both. K is how many neighbours come back, and the Filter narrows the search before the neighbours are looked for.

Semantic / hybrid search looks in a semantic_text field. Give the Semantic field and the Text to look for, like {{payload.question}}. Hybrid also looks for the words: pick the Text field, and the two lists are merged by rank. Hybrid needs a license of the cluster that includes it, and the cluster says so if it doesn't. Semantic search needs a version of Elasticsearch that has it, not 7.17.

Both answer like Search: the next nodes run once for each hit, with its score, its source and its id.

Run ES|QL or SQL (optional)

Optional

ES|QL query and SQL query run a query of your own and bring its rows, one object for each, with the name of each column as its key. The next nodes run once for each row.

ES|QL query and its parameters
FROM orders-2026 | WHERE status == ?status AND total > ?min | LIMIT 100

[{"status": "{{payload.status}}"}, {"min": 100}]

The values of the event go in Parameters, never in the text of the query. A {{ }} in the text is refused when you save, because it would let the event write the query (FROM * reads every index the key can). In ES|QL a parameter is ?name, or ? in order; in SQL it is ?, in order. The value of a parameter is text, a number, true or false, or null.

In SQL, Fetch size is how many rows come back (1,000 by default, up to 10,000). If there were more, the answer says hasMore: narrow the query.

Change many documents at once

Bulk takes a list of items as JSON, each one a create, a replace, an update or a delete:

Bulk, Items
[
{ "action": "index", "id": "{{payload.id}}", "doc": { "status": "paid" } },
{ "action": "update", "id": "7", "doc": { "status": "shipped" } },
{ "action": "delete", "id": "9" }
]

It goes in requests of 5 MB, up to 50,000 items, and it is not atomic: some items can work and others fail. With Continue on item errors off, a failure stops the run and says which items failed. On, the run goes on and the answer says which. If a later request fails, the line says how many were already written: check before you run it again.

Update by query, Delete by query and Reindex act on every document that matches, and that can't be undone. So they come with Stop if more than on, with a limit of 1,000: HostWebhook counts first, and if more documents match, nothing is changed and the run fails. Raise Limit when you mean to change more. If you turn the brake off, the field says in red that it will change every document that matches. Max documents limits how many are changed, On conflict says what to do with a document that changed meanwhile, and Run in background answers at once with a task to follow.

Update by query and Delete by query need a query, and an empty one is refused: to act on every document, write {"match_all": {}}.

These are never sent twice by a retry.

A read is tried again by itself if the cluster is busy, but Bulk, the changes by query and Reindex are not: repeating them would write the first requests again. If one fails halfway, the line says Some documents may already have been changed: check before you run it again.

Set up indices, templates and pipelines (optional)

Optional

The same node sets up the cluster. Open Operation and pick one of the other groups:

GroupWhat it has
IndicesList indices, Get index, Get mapping, Create index, Update mapping, Update settings, Refresh index, Index exists, Delete index
AliasesList aliases, Add alias, Remove alias, Swap alias
Data streams and templatesList and create data streams, List and put index templates, and the two deletes
Ingest pipelinesList pipelines, Put pipeline, Simulate pipeline, Delete pipeline
InferenceList inference endpoints, Run inference
Cluster and tasksCluster info and health, Get task, Cancel task
API requestAny call to the cluster (step 09)

The settings, the mappings, the aliases, the template and the processors are JSON that you write:

Create index, Mappings
{ "properties": { "status": { "type": "keyword" }, "total": { "type": "float" } } }

A {{payload.x}} in them is ONE value (a name, a number), never a whole piece of the structure. It can't go inside code that the cluster keeps and runs, like the script of a runtime field, a script processor or the if of a processor: saving the node says so. To read a field of the document in a pipeline, use a script processor: text like {{field}} is filled by HostWebhook first.

A few things people get wrong:

  • Swap alias moves an alias from one index to another in one step, so a search that uses it never sees it empty. Use it to switch a flow to a new index, like orders-2026 to orders-2027. It copies nothing from the old index: the new one gets only the Write index, Filter and Routing you set in the step. If the alias had several indices behind it, set Write index, or the writes through it fail.
  • A data stream needs an index template with data_stream that matches its name: Put index template first, then Create data stream. To write into one with Index document, turn on Only create and give every document an @timestamp.
  • Simulate pipeline tries a pipeline on up to 100 test documents and saves nothing: use it before Put pipeline. With Verbose it also lists what each processor did, and the document is the one after the last processor.
  • Run inference can cost money, in Elastic or with the provider of the model. List inference endpoints shows the models your cluster has; Elastic's own need machine learning nodes.
  • The operations that list give a list, and the next nodes run once for each entry of it.
  • To follow a Run in background of Step 07, give Get task or Cancel task the task ID it returned. After Cancel task, Get task says cancelled: true.

Each call needs the privilege that Elasticsearch asks for it. Checked on a cluster with a key that only reads and a key that writes:

CallPrivilege
List indices, Get index, Get mapping, List aliasesview_index_metadata (or read) on the index
Create index, Create data streamcreate_index (or manage)
Update mappingwrite (or manage): write is enough
Update settingsmanage on the index
Refresh indexmaintenance (or manage)
Add alias, Remove alias, Swap aliasmanage, on the index and on the alias
Delete index, Delete data streamdelete_index (or manage)
List index templatesmonitor, or manage_index_templates (cluster)
Put index template, Delete index templatemanage_index_templates (cluster)
List pipelines, Simulate pipelineread_pipeline or manage_ingest_pipelines (cluster). monitor is not enough
Put pipeline, Delete pipelinemanage_ingest_pipelines (cluster)
List inference endpoints, Cluster info and health, Get taskmonitor (cluster)
Cancel taskmanage (cluster)

A 403 means the key lacks one of them. The line names it when the cluster does, like Its role needs one of these privileges on that index: create_index, manage (any one of them is enough). Give them to a key of their own, for the flows that set the cluster up.

A change that says Elasticsearch did not answer in time may have been made: on a cluster that is slow to save its state, Create index, Swap alias and Create data stream can answer late and still be done. The line of the node says it too (and the change may have been made). Look first (Index exists, List aliases, List data streams): a repeat fails with already exists.

Delete or administer: the two switches (optional)

Optional

Two things are off until you turn them on, in the advanced options of the operation that needs them. They are yours: the data of an event never turns one on.

SwitchWhereWhen it is OffWhen it is On
Allow deleting indicesDelete index, Delete data stream, Delete index template, Delete pipelineThis node refuses to run and nothing is deletedWhen this node runs it deletes the index and every document in it (or the data stream and its backing indices, the template, the pipeline). It cannot be undone
Allow deleting indicesAPI requestA call that deletes an index, a data stream, a template or a pipeline is refusedThe calls of this node can delete indices, data streams, templates and pipelines. It cannot be undone
Allow cluster administrationAPI requestSecurity, snapshots and the licence are refused, and so is any change to the nodes or the cluster settings. Reading the nodes and the settings is allowedThe calls of this node can change the security, the snapshots, the licence and the settings of the whole cluster

The panel shows each one in a red box with that line. Deleting documents needs no switch: in API request, DELETE /orders/_doc/1, a delete by query and a delete inside a _bulk run with both switches Off, and the free call has no brake. Give a flow that has an API request a key that can't delete what it must not. Turn one on only in a node that has to do it, and use a key that has the privilege and nothing more: the switch is the second lock, and the privileges of the key are the first.

API request is the call that has no operation of its own. It goes only to the cluster of the credential:

FieldWhat it takes
MethodGET, POST, PUT, DELETE or HEAD
PathOnly the path, starting with /, like /_cat/health. No full address, no query string and no dots
ParametersJSON, like {"pretty": true}
BodyJSON, like {"query": {"match_all": {}}}. With Body format NDJSON it is a list where each item is one line, for _bulk and _msearch

A {{payload.x}} in the path is ONE piece: the value is encoded, so it can't add a /, a ? or a ... What is code or query syntax takes no {{ }}, and saving the node says so: the text query or source at the root of the body, the ID of a stored template, a script, and the parameters q and df. The answer is the cluster's own: status, ok and body. It is tried again only if HostWebhook's own service is busy, never after a call that may have done half its work.

Start a flow when a document arrives (optional)

Optional

In Flows, add a Trigger node and pick Elasticsearch as the service, with an Elasticsearch credential. It reads with the credential and writes nothing. Under Event Trigger pick what fires it:

EventWhen it fires
New documentsA document with a date, or a whole number, above the last one seen. Cursor field is a field that grows with each new document, like @timestamp or event.ingested
New or updated documentsA document that is new, or whose change date moved past the last one seen: the date your app sets on every change, like updated_at
Query alertA query that runs on every check and fires when its count goes above or below a number, like no logs for 10 minutes: pick Below and 1. Query language is Query DSL (counts the documents) or ES|QL (counts the rows, up to 1,000). Window counts only the last N seconds
Kibana or Watcher pushKibana or Watcher calls the URL of the trigger when an alert fires. Nothing is checked on a timer, so it costs no searches

The rest of the form, for the first three:

  • Index is picked from the list. Filter is optional: only the documents that match this Query DSL, like {"term": {"status": "paid"}}. It takes no {{ }} and no scripts, because a trigger has no event to fill them. A document that didn't match when it was created, and matches later because it changed, comes out as a new document if its date is ahead of the last one seen: the mark only moves with the documents that match.
  • Delay (60 seconds by default) reads only documents older than this, so one that was refreshed late is not missed. Events arrive that much later.
  • Ignore changes made by this flow is on by default: the documents that the Elasticsearch nodes of this flow write don't fire it, so a flow that updates what it watches doesn't start itself forever. Update by query and Delete by query don't say which documents they changed, so the trigger may fire on them. Turn it off only if the flow never writes in the index it watches: with it off, a flow that creates documents there starts itself again with every copy it writes, one run for each check, without end. If you turn it on again, what the flow wrote while it was off still fires once, and then the chain stops.
  • Start with the latest sends the latest N documents that are already there when you turn it on (0 by default, up to 500). Documents per check is the most one check sends: 100 by default, up to 500.
  • Check every is in seconds: 300 by default, as short as 60 on a paid plan. Each check is a search: on Serverless it counts toward your search usage.

Deleted documents aren't seen. Use a field your app sets when it deletes, along with the change date, and watch New or updated documents, or use a Kibana alert with the push.

What arrives in payload for a document:

New documents
{
"event": "document.created",
"index": "orders-2026",
"id": "1042",
"version": 1,
"cursor": "2026-11-14T10:00:00.000Z",
"document": { "status": "new", "total": 59.97 }
}

Use {{payload.document.status}}. A query alert sends alert.fired with the count it saw, the threshold and checkedAt; a push sends alert.received with the body of the call in alert. Test push shows the latest documents it would pick up, up to 10, and sends nothing.

Set up the Kibana or Watcher push

Pick Kibana or Watcher push and save the trigger. HostWebhook makes a URL and a secret and shows them once: copy the secret now, because HostWebhook doesn't keep it. Calls without the secret in the header X-HostWebhook-Secret are refused.

Turn the trigger on first. A call to a trigger that is off answers 410 Gone, and the test of the Kibana connector shows [410] Gone without saying why.

In Kibana, open Stack Management, then Alerts and Insights, then Connectors, click Create connector and pick Webhook: method POST, the URL, authentication none, and two headers, Content-Type: application/json and X-HostWebhook-Secret. Give the secret the Secret header type: a normal header shows it to whoever can see the connector. Test, then Run answers 200 with the trigger on, and a run arrives with the variables unfilled ({{rule.id}}): the test sends the template as it is, and the real values only come from a rule.

Then open Rules, click Create rule and pick Elasticsearch query. Step Definition: KQL or Lucene, a data view for your index, the query, and the condition (for example count above 0 for the last 5 minutes). Step Actions: Add action, your Webhook connector, Run when Query matched, Action frequency For each alert and On status changes (one push when the alert starts, not one a minute), and the Body. Step Details: the name. Paste the body, don't type it: the editor indents each line a little more and adds a closing brace as you type, and the JSON breaks.

In Watcher, open Stack Management, Alerts and Insights, Watcher, click Create and pick Create advanced watch, then paste the JSON of the panel (a webhook action with the URL, the two headers and the body). Create threshold alert doesn't work: its Webhook action has no headers, so it can't send the secret and the push answers 403.

Once a day the trigger checks that the credential, the index and the cursor field still work. A failure of the moment is tried again; five in a row pause it. The rest pause it at once, with the cause on its card:

The card saysWhat to do
Elasticsearch rejected the credentialThe key was revoked or the password changed: give the new one in Edit keys and settings
The access token expiredGet a new token and give it in Edit keys and settings
A Serverless project only takes an API key, not a user and passwordCreate an API key in the project and give it in Edit keys and settings
The credential can no longer reach the clusterCheck the Endpoint, the certificate and the tunnel in Edit keys and settings
The traffic filter of the deployment does not let HostWebhook inAdd the address 18.225.52.125 to the filter in Elastic Cloud, in Network security. Editing the keys changes nothing
The credential isn't allowed to read that indexGive its role read on it, or use another credential
The index isn't there anymorePick it again
Elasticsearch refused the checkCheck that the cursor field is still a date or a number, and that the query is valid
More than 10,000 documents have the same cursor valueUse a finer field, like event.ingested
The cursor jumped far aheadUse a date as the cursor

When you fix it, turn the trigger on again.

Use what arrives

What the node gives back is in payload for the nodes after it. A Get document:

Get document
{
"id": "1042",
"index": "orders-2026",
"found": true,
"version": 3,
"seqNo": 12,
"primaryTerm": 1,
"source": { "status": "paid", "total": 59.97 }
}

Use {{payload.source.status}}. A Search gives hits, total and took, and the next nodes run once for each hit:

One hit of a Search
{
"id": "1042",
"index": "orders-2026",
"score": 1.3,
"source": { "status": "paid", "total": 59.97 }
}

Use {{payload.source.total}} in the next node. Get many documents (documents), Bulk (items), Multi search (responses) and ES|QL and SQL (rows) work the same way: the list is what the next nodes run over. Big integers come back as text, so they never lose digits.

Let the event bring a whole query, list or document

A field that holds JSON has an advanced switch, take a whole list or object from the event, that lets whoever calls the URL of the flow decide what the field holds. It is off by default. The ones that write, change or delete have their warning in red.

A query that comes whole from the event can only compare fields with values and combine them (match_all, match_none, term, terms, range, exists, ids, match, match_phrase, bool, constant_score and nested). Anything else, like a script or a pattern, is refused by name, and nothing is sent to your cluster. Use it only when the source of the event is yours.

Reconnect after a key or certificate change

If the key is revoked or the password changes, the nodes fail with Elasticsearch rejected the credential. Check the API key, or the user and password, and reconnect. If the certificate of the cluster changes, they fail with The certificate of the cluster does not match the fingerprint of the credential or The cluster uses its own certificate.

Three more lines are about the credential or the deployment, not the node. The access token expired. Get a new one and reconnect with it. needs a new token. A Serverless project only takes an API key, not a user and password. Create an API key in the project and reconnect with it. needs an API key of the project. The traffic filter of the deployment does not let HostWebhook in. Add the address 18.225.52.125 to the filter, e.g. in Network security of Elastic Cloud. needs the address added to the filter of the deployment, and reconnecting changes nothing.

Open the credential and click Edit keys and settings (the Reconnect button of its warning opens it too). You verify it's you first, and then the form you connected with opens, filled in with what the credential has: give the new key, password, token or certificate and click Save. If you can't see the keys of the credential, they come empty, and one left empty keeps what it has. It is saved over the same credential, so the nodes that use it work at once.

To disconnect Elasticsearch for good, delete the credential in Settings, Credentials, and revoke the API key in Kibana.

Troubleshooting

Could not connect to the cluster. Check the Endpoint, and the tunnel if it has one. A cluster that only answers inside a network needs a tunnel (step 02).

The credential is not allowed to do that. A 403 is the role of the key, not the node. If the line names the privileges (Its role needs one of these privileges on that index: create_index, manage), give the key one of them; if it does not, see the table of Step 08, or use another key.

A field that already exists cannot change its type. Update mapping only adds fields. Add a new field, or create a new index with the new type, reindex into it and move the alias with Swap alias.

Elasticsearch did not find the index. Check the name of the index. A pattern like logs-* works only in the operations that read.

The document changed or already exists. A version conflict. Turn off Only if unchanged or Only create, or read the document again for its new seqNo.

A field does not fit the mapping of the index. The document has text in a number field, or the like. Check the document.

The answer is too large. Ask for fewer documents, or only the fields you need with Fields. An answer is 5 MB at most.

The search expired before it finished. With Return all, the cluster closed the frozen view before the last page. Run it again.

Stopped before touching anything. The brake of a change by query counted more documents than its limit. Narrow the query, or raise Limit.

A search doesn't show the document I just wrote. Elasticsearch makes changes searchable about a second later. Turn on Wait until searchable on the write.

The traffic filter of the deployment does not let HostWebhook in. The deployment has an IP filter that does not list 18.225.52.125. In the Elastic Cloud console, open Organization, Security, Network security, click Create policy and make an IP filter with that address and the region of your deployment. Then, in the deployment, open Access and security, Security, Network security and click Apply policies. Traffic that matches an applied policy is allowed and all the rest is denied, so keep your own address in the filter too. It is not a missing privilege, and editing the keys changes nothing.

The access token expired. Get a new one and give it in Edit keys and settings (step 12).

A Serverless project only takes an API key. Create an API key in the project and give it in Edit keys and settings. A user and password don't work there.

This node refuses to run and nothing is deleted. The four deletes need Allow deleting indices On, in the advanced options of the node (step 09). It is not a failure: it is the node doing what you asked.

That index is a data stream. It only takes new documents: turn on Only create in Index document, and give the document an @timestamp (step 08).

The trigger says it was paused. Its card says why. Fix the cause (step 10 has the list) and turn the trigger on again.

The Test says the key can do everything. It works, but a key limited to the indices your flows use is safer (step 01).

Elasticsearch is a trademark of elasticsearch B.V., registered in the U.S. and in other countries. Elastic is a trademark of elasticsearch B.V.