﻿---
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/elastic/docs-builder/docs/2510/reference/beats/winlogbeat/drop-event
applies_to:
  - Elastic Stack: Generally available in 9.0+
---

# 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](/elastic/docs-builder/docs/2510/reference/beats/winlogbeat/defining-processors#conditions) for a list of supported conditions.