Remove fields from documents based on their value

In the past I have used logstash to generate a text file that I curled into elasticsearch, but it could probably be done using an http filter. You do not have to have an output in a logstash pipeline.