Briefly, this error occurs when the quantiles data in Elasticsearch is not supplied in the correct chronological order. This can happen when data is ingested in a non-sequential manner. To resolve this issue, ensure that the data is sorted in ascending order of time before it is ingested into Elasticsearch. Alternatively, you can use the ‘sort’ function in Elasticsearch to sort the data after it has been ingested. Also, check your data pipeline for any issues that might be causing the data to arrive out of order.
This guide will help you check for common problems that cause the log ” [{}] Quantiles not supplied in time order – {} after {} ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugin.
Log Context
Log “[{}] Quantiles not supplied in time order – {} after {}” classname is ShortCircuitingRenormalizer.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :
long latestTimeMs = quantiles.getTimestamp().getTime(); // If we're going to skip quantiles; renormalize using the latest quantiles // over the time ranges implied by all quantiles that were provided. long windowExtensionMs = latestTimeMs - earliestTimeMs; if (windowExtensionMs