Delete JSON documents from an Elastic Search Server.

Parameters:

Parameters:
See dedicated page for more information.
Deletes one or more documents from an Elasticsearch index using their _id.
Typical wiring: ElasticSearchDownload ➜ ElasticSearchDelete ➜ RunToFinishLine.

An Elasticsearch cluster (Elastic Cloud or self-hosted).
Index already created (e.g., search-66dm).
Credentials with permission to delete documents (e.g., user elastic).
A column that contains the document _id values.
Easiest way: use ElasticSearchDownload to fetch data first and expose the id column, then feed its output to this action.

Data Id to delete) that contains the document _id.S0TZ75gBq07urmnd7BYp, TETZ75gBq07urmnd7BYp, …| Field | What to put | Notes |
|---|---|---|
| Index Name | search-66dm |
Target index. |
Data Id to delete (Data Id to delete) |
Select the id column from the incoming pin |
In the column picker, choose the id field. (You found it in Download results.) |
| URL | Your cluster endpoint, e.g. https://…cloud.es.io:443 |
Copy from Index Management › Elasticsearch URL. |
| Enable password security | ON | Enables Basic auth. |
| Login/user | elastic (or another user) |
|
| Password | your password / API key | Stored securely. |
| Debug information level | basic (recommended) |
Use higher only when diagnosing. |
| Optional: extra parameters for cURL | (empty) | Advanced. |
| Number of retries | 3 |
Retries on transient network errors. |
| Error Management | Continue with "Error" Status or Abort | Choose based on pipeline policy. |
For each incoming row, the action issues a Bulk API request with delete operations against the specified index (content-type application/x-ndjson). This is the most efficient way to remove multiple documents by _id.
Click Run.
In the Log, look for a line like:
{"errors":false,"took":...,"items":[{"delete":{"_index":"search-66dm","_id":"S0TZ...","result":"deleted", ...}}, ...]}
That means Elasticsearch acknowledged the deletions.
In Elastic Console › Index Management, open your index and verify:
Document count reflects the current total
Deleted counter increased (Elastic keeps soft-delete stats)

ElasticSearchDownload retrieved rows from search-66dm and exposed columns: index, type, id, source.
ElasticSearchDelete was configured with:
search-66dmData Id to delete: id column from the Download outputRun completed successfully; the log showed multiple:
"result":"deleted"
and the Elastic UI displayed Document count: 0, Deleted: 2.
_id, then scale up.delete rights.| Symptom in Log | Likely Cause | Fix |
|---|---|---|
{"errors":true, ...} inside bulk response |
Some _id not found or index mismatch |
Confirm Index Name and that Data Id to delete holds valid IDs for that index. |
401 Unauthorized |
Wrong credentials or security off | Turn Enable password security ON; verify user/password/API key. |
index_not_found_exception |
Index name typo or missing index | Open Elastic › Index Management to confirm exact name. |
| “Authorization required, but no authorization protocol specified” | Informational line from the runner | Safe to ignore if the bulk response shows result":"deleted". |
| Nothing deleted | Data Id to delete not selected or empty |
Reopen the column selector and pick the id field from the incoming pin. |
id column?id column (Elasticsearch _id). Feed that into ElasticSearchDelete and select it in Data Id to delete.
This action works behind HTTP/S proxies (via cURL). If your environment requires a proxy, add the cURL flag(s) under Optional: extra parameters for cURL (e.g., --proxy https://user:pass@host:port).
You’re all set. With the Download ➜ Delete chain in place and Data Id to delete pointing to the _id column, you can confidently prune documents from your Elasticsearch index.
