OpenSearch/distribution/docker
Przemyslaw Gomulka e23ecc5838
JSON logging refactoring and X-Opaque-ID support backport(#41354) (#44178)
This is a refactor to current JSON logging to make it more open for extensions
and support for custom ES log messages used inDeprecationLogger IndexingSlowLog , SearchSLowLog
We want to include x-opaque-id in deprecation logs. The easiest way to have this as an additional JSON field instead of part of the message is to create a custom DeprecatedMessage (extends ESLogMEssage)

These messages are regular log4j messages with a text, but also carry a map of fields which can then populate the log pattern. The logic for this lives in ESJsonLayout and ESMessageFieldConverter.

Similar approach can be used to refactor IndexingSlowLog and SearchSlowLog JSON logs to contain fields previously only present as escaped JSON string in a message field.

closes #41350
 backport #41354
2019-07-12 16:53:27 +02:00
..
docker-build-context JSON logging refactoring and X-Opaque-ID support backport(#41354) (#44178) 2019-07-12 16:53:27 +02:00
oss-docker-build-context
src Run some REST tests against a cluster running in docker containers (#39515) 2019-07-11 15:28:33 +03:00
build.gradle Run some REST tests against a cluster running in docker containers (#39515) 2019-07-11 15:28:33 +03:00
docker-compose.yml Run some REST tests against a cluster running in docker containers (#39515) 2019-07-11 15:28:33 +03:00
docker-test-entrypoint.sh Run some REST tests against a cluster running in docker containers (#39515) 2019-07-11 15:28:33 +03:00