---
title: Drop events
description: The drop_event processor drops the entire event if the associated condition is fulfilled. The condition is mandatory, because without one, all the events...
url: https://www.elastic.co/docs/reference/beats/metricbeat/drop-event
products:
  - Beats
  - Metricbeat
applies_to:
  - Elastic Cloud Serverless: Generally available
  - Elastic Stack: Generally available
---

# Drop events
The `drop_event` processor drops the entire event if the associated condition is fulfilled. The condition is mandatory, because without one, all the events are dropped.
```yaml
processors:
  - drop_event:
      when:
        condition
```

See [Conditions](/docs/reference/beats/metricbeat/defining-processors#conditions) for a list of supported conditions.