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()) {

 

How helpful was this guide?

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?