Fix checkstyle issue. (#448)

Signed-off-by: Rabi Panda <adnapibar@gmail.com>
This commit is contained in:
Rabi Panda 2021-03-22 16:49:38 -07:00 committed by GitHub
parent 610531d83e
commit 58321fd2fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -61,7 +61,9 @@ import java.util.stream.Stream;
* </ul>
* <p>
* It is possible to add more or override them with <code>opensearchmessagefield</code>
* <code>appender.logger.layout.opensearchmessagefields=message,took,took_millis,total_hits,types,stats,search_type,total_shards,source,id</code>
* <code>
* appender.logger.layout.opensearchmessagefields=message,took,took_millis,total_hits,types,stats,search_type,total_shards,source,id
* </code>
* Each of these will be expanded into a json field with a value taken {@link OpenSearchLogMessage} field. In the example above
* <code>... "message": %OpenSearchMessageField{message}, "took": %OpenSearchMessageField{took} ...</code>
* the message passed to a logger will be overriden with a value from %OpenSearchMessageField{message}