Time series indices only support synthetic source – How to solve this Elasticsearch exception

Opster Team

August-23, Version: 8.9-8.9

Briefly, this error occurs when you’re trying to use a non-synthetic source with time series indices in Elasticsearch. Time series indices are designed to work with synthetic sources only. To resolve this issue, you can either switch to using a synthetic source or use a different type of index that supports non-synthetic sources. Alternatively, you can modify your data or query to fit the synthetic source requirements.

This guide will help you check for common problems that cause the log ” Time series indices only support synthetic source ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: source, index, indices.

Log Context

Log “Time series indices only support synthetic source” class name is SourceFieldMapper.java. We extracted the following from Elasticsearch source code for those seeking an in-depth context :

 @Override
 public SourceFieldMapper build() {
 if (enabled.getValue().explicit() && mode.get() != null) {
 if (indexMode == IndexMode.TIME_SERIES) {
 throw new MapperParsingException("Time series indices only support synthetic source");
 } else {
 throw new MapperParsingException("Cannot set both [mode] and [enabled] parameters");
 }
 }
 if (isDefault()) {

 

 [ratemypost]

Opster
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.