In elastic logs I have errors
ElasticsearchParseException: Error updating pipeline with id
(...)
Too many dynamic script compilations within
I am trying to change the configuration of the pipe and one thing is very interesting and unexpected.
One of the errors is
Caused by: org.elasticsearch.script.GeneralScriptException: Failed to compile inline script [XXX] using lang [mustache]
(...)
Caused by: org.elasticsearch.common.breaker.CircuitBreakingException: [script] Too many dynamic script compilations within, max: [75/5m]; please use indexed, or scripts with parameters instead; this limit can be changed by the [script.max_compilations_rate] setting
Elastic throws above error when pipe have remove processor like this
{
"remove": {
"field": [
"message",
"some_ts",
"XXX"
]
}
}
When pipeline is changed to
{
"remove": {
"field": [
"message",
"some_ts"
]
}
}
there is no
Caused by: org.elasticsearch.script.GeneralScriptException: Failed to compile inline script [XXX] using lang [mustache]
in logs.
What is it related to and how to configure the deletion of this field, but without receiving errors.