Filter out documents before indexing in Elasticsearch based on certain condition


(Ali Nazemian) #1

I was wondering if I could filter our documents before indexing in Elasticsearch based on specific condition. For example, let's say I would like to drop a document from being index if field1="something". Is this something I can address via using out of the box processors in Elasticsearch and use "ingest node" to cover it? Can I write a custom processor if it doesn't exist?