# filter
Filters irrelevant consultation events.
This middleware is activated by default.
# Prerequisites
You must use filter at the begin.
# How to use
# ezPAARSE admin interface
You can add or remove filter by default to all your enrichments, To do this, go to the middleware section of administration.
# ezPAARSE process interface
You can use filter for an enrichment process. You just add the middleware.
# ezp
# enrich with one file
ezp process <path of your file> \
--host <host of your ezPAARSE instance> \
--settings <settings-id> \
--header "ezPAARSE-Middlewares: filter" \
--out ./result.csv
# enrich with multiples files
ezp bulk <path of your directory> \
--host <host of your ezPAARSE instance> \
--settings <settings-id> \
--header "ezPAARSE-Middlewares: filter" \
# curl
curl -X POST -v http://localhost:59599 \
-H "ezPAARSE-Middlewares: filter" \
-H "Log-Format-Ezproxy: <line format>" \
-F "file=@<log file path>"