Drop document processor
TheDrop document processor prevents documents from being indexed when they meet a specific condition, without raising an error.
To configure a condition for dropping documents:
- SelectCreate →Create processor.
- SelectDrop document from theProcessor menu.
- Set theCondition for when you want to drop a document.
Warning
The default is thealways condition. Not setting a specific condition results in every document that matches the drop condition getting dropped from indexing.
This functionality uses the ElasticsearchDrop processor internally, but you configure it in Streamlang. Streamlang doesn’t always have 1:1 parity with the ingest processor options and behavior. Refer toProcessor limitations and inconsistencies.