Skip to main content

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

FieldDescriptionType / Options
LabelCustom name for the actionString
Select connectionChoose or create a secure Elasticsearch connectionConnection
IndexName of the Elasticsearch index from which documents will be deletedString
Dry-run modeToggle to simulate the deletion without actually removing dataBoolean
SchemaOptional schema to validate deletion criteriaSchema

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