diff --git a/server/src/main/java/org/opensearch/common/logging/OpenSearchJsonLayout.java b/server/src/main/java/org/opensearch/common/logging/OpenSearchJsonLayout.java index 71cd1ee0ce2..ab663e26cfd 100644 --- a/server/src/main/java/org/opensearch/common/logging/OpenSearchJsonLayout.java +++ b/server/src/main/java/org/opensearch/common/logging/OpenSearchJsonLayout.java @@ -61,7 +61,9 @@ import java.util.stream.Stream; * *

* It is possible to add more or override them with opensearchmessagefield - * appender.logger.layout.opensearchmessagefields=message,took,took_millis,total_hits,types,stats,search_type,total_shards,source,id + * + * appender.logger.layout.opensearchmessagefields=message,took,took_millis,total_hits,types,stats,search_type,total_shards,source,id + * * Each of these will be expanded into a json field with a value taken {@link OpenSearchLogMessage} field. In the example above * ... "message": %OpenSearchMessageField{message}, "took": %OpenSearchMessageField{took} ... * the message passed to a logger will be overriden with a value from %OpenSearchMessageField{message}