As documented here
https://www.elastic.co/guide/en/elasticsearch/reference/current/drop-processor.html
I want to be able to drop a document when matching on a field, like so
{
"processors": [
{
"json": {
"field": "message",
"add_to_root": true,
"ignore_failure": true
}
},
{
"drop": {
"if": "req.url == '/api/v1/health'",
"ignore_failure": true
}
}
]
}
But I am getting a compile error in the ingest ui. The browser dev tool inspector gives me this reason why:
400 Bad Request
type: illegal_argument_exception
reason: cannot resolve symbol [req.url]
I can provide additional screenshots if needed.