Delete
Elasticsearch Plugin – Delete Action
Summary (SEO Meta Description):
The Delete Action of the Elasticsearch Plugin removes documents from an Elasticsearch index.
It supports a safe dry-run mode to preview deletions before applying them.
Overview
The Delete Action allows your workflow to remove documents from an Elasticsearch index.
Use the optional dry-run mode to simulate deletions and ensure accuracy before performing permanent changes.
Typical Use Cases:
- Clean up outdated or obsolete records
- Remove test or temporary data from an index
- Automate periodic data retention policies
- Enforce GDPR or compliance-related data deletion
⚙️ Configuration
| Field | Description | Type / Options | 
|---|---|---|
| Label | Custom name for the action | String | 
| Select connection | Choose or create a secure Elasticsearch connection | Connection | 
| Index | Name of the Elasticsearch index from which documents will be deleted | String | 
| Dry-run mode | Toggle to simulate the deletion without actually removing data | Boolean | 
| Schema | Optional schema to validate deletion criteria | Schema | 
FAQ
Q: What does dry-run mode do?
A: It simulates the deletion process and provides a report of which documents would be deleted, without actually removing them.
Q: Can I delete specific documents only?
A: Yes, by specifying filters or document IDs in your workflow logic before running the Delete action.
Q: Is schema selection mandatory?
A: No. It’s optional and typically used if you need to validate the structure of documents to be deleted.
Q: Is this action reversible?
A: No. Once documents are deleted without dry-run, the action is permanent unless you have a backup.
Keywords: WeHub Elasticsearch Plugin, Delete Action, Document Deletion, Dry-run Mode, Elasticsearch Data Management