Hi,
We had a log4j settings that has set the logging level of org.elasticsearch.deprecation
to ERROR
that we set from the _cluster/settings
endpoint. Ever since we upgraded to 6.8.6, that settings stopped working and the cluster logs a huge number of deprecation warnings. Is there anything that changed from 6.1 to 6.8? We recently upgraded from 6.1.0 to 6.8.0
curl -X PUT "http://localhost:9200/_cluster/settings" -H 'Content-Type: application/json' -d'
{
"transient": {
"logger.org.elasticsearch.deprecation": "ERROR"
}
}'
I think 90% of the warning comes from these 2:
Deprecated field [_version_type] used, expected [version_type] instead
and
Accessing variable [_agg] via [params._agg] from within a scripted metric agg init script is deprecated in favor of using [state].
Until we make a code change, we'd like to silence the warnings since it's quite noisy and impacts our bill for logging to sumo logic
Thanks,
Khoa