elastic / ml-cpp

Machine learning C++ code
Other
7 stars 62 forks source link

[ML] Custom rules are not updated while the job is running #2741

Open valeriy42 opened 2 months ago

valeriy42 commented 2 months ago

When we create a custom rule for an open anomaly detection job, e.g. using Kibana or the Anomaly Detection Job Update API, the rule is stored in the Java job configuration and passed to the native process, but the job configuration is not updated on the fly. This behavior can be reproduced in recent Elasticsearch versions, at least 8.13+.

The only workaround is to stop and restart the job.