After upgrading from 5.x to 6.x, I am getting the following error for some ML jobs:
Datafeed frequency must be a multiple of the aggregation interval
The bucket span is set to 900s and the datafeed frequency is 450s. Clearly, the error says it should be the other way around.
However, this used to work in 5.x and the documentation suggests it still should : Datafeed Resources | Elasticsearch Reference [6.2] | Elastic
frequency
(time units) The interval at which scheduled queries are made while the datafeed runs in real time. The default value is either the bucket span for short bucket spans, or, for longer bucket spans, a sensible fraction of the bucket span. For example:150s
.
Is the documentation outdated or am I reading it wrong ? My undestanding was that the frequency parameter was used to get partial results without waiting for the full bucket span.
Thanks,
Thomas