Please wrap watch including field inside a \”watch\”” field” – How to solve this Elasticsearch error

Opster Team

, Version: 1.7-8.0

Log Context

Log “please wrap watch including field [{}] inside a \”watch\”” field””classname  is RestExecuteWatchAction.java We extracted the following from Elasticsearch source code for those seeking an in-depth context :

currentFieldName);
 }
 }
 } else {
 if (RESERVED_FIELD_NAMES.contains(currentFieldName)) {
 throw new ElasticsearchParseException("please wrap watch including field [{}] inside a \"watch\"" field"";

 

Watch product tour

Watch how AutoOps finds & fixes Elasticsearch problems

Analyze Your Cluster
Skip to content