Please wrap watch including field inside a watch field – How to solve this Elasticsearch exception

Opster Team

August-23,

Log Context

Log “please wrap watch including field [{}] inside a \”watch\”” field”” class name 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"";

 

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?

Get expert answers on Elasticsearch/OpenSearch