﻿---
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://docs-v3-preview.elastic.dev/elastic/beats/pull/47709/reference/filebeat/drop-event
---

# 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/beats/pull/47709/reference/filebeat/defining-processors#conditions) for a list of supported conditions.