drop_events

Overview

Drops all the events that are passed into this processor.

OptionRequiredTypeDescription
drop_whenYesStringAccepts a Data Prepper Expression string following the Data Prepper Expression Syntax. Configuring drop_events with drop_when: true drops all the events received.
handle_failed_eventsNoEnumSpecifies how exceptions are handled when an exception occurs while evaluating an event. Default value is drop, which drops the event so it doesn’t get sent to OpenSearch. Available options are drop, drop_silently, skip, skip_silently. For more information, see handle_failed_events.