OpenSearch/qa
Przemyslaw Gomulka 891320f5ac
Elasticsearch support to JSON logging (#36833)
In order to support JSON log format, a custom pattern layout was used and its configuration is enclosed in ESJsonLayout. Users are free to use their own patterns, but if smooth Beats integration is needed, they should use ESJsonLayout. EvilLoggerTests are left intact to make sure user's custom log patterns work fine.

To populate additional fields node.id and cluster.uuid which are not available at start time, 
a cluster state update will have to be received and the values passed to log4j pattern converter.
A ClusterStateObserver.Listener is used to receive only one ClusteStateUpdate. Once update is received the nodeId and clusterUUid are set in a static field in a NodeAndClusterIdConverter. 

Following fields are expected in JSON log lines: type, tiemstamp, level, component, cluster.name, node.name, node.id, cluster.uuid, message, stacktrace
see ESJsonLayout.java for more details and field descriptions

Docker log4j2 configuration is now almost the same as the one use for ES binary. 
The only difference is that docker is using console appenders, whereas ES is using file appenders.

relates: #32850
2019-01-29 07:20:09 +01:00
..
ccs-unavailable-clusters Deprecate types in index API (#36575) 2018-12-18 08:53:49 -05:00
die-with-dignity Elasticsearch support to JSON logging (#36833) 2019-01-29 07:20:09 +01:00
evil-tests Mute failing test 2019-01-22 17:16:40 +02:00
full-cluster-restart Handle deprecation warnings in a permissive manner. 2019-01-28 15:02:50 +01:00
logging-config Elasticsearch support to JSON logging (#36833) 2019-01-29 07:20:09 +01:00
mixed-cluster Converting randomized testing to create a separate unitTest task instead of replacing the builtin test task (#36311) 2018-12-19 08:25:20 +02:00
multi-cluster-search Expose sequence number and primary terms in search responses (#37639) 2019-01-23 09:01:58 +01:00
no-bootstrap-tests Plugins: Remove meta plugins (#30670) 2018-05-18 10:56:08 -07:00
rolling-upgrade Simplify integ test distribution types (#37618) 2019-01-21 12:37:17 -08:00
smoke-test-client Testing conventions: add support for checking base classes (#36650) 2019-01-08 13:39:03 +02:00
smoke-test-http Deprecate types in index API (#36575) 2018-12-18 08:53:49 -05:00
smoke-test-ingest-disabled Tests: Change rest test extension from .yaml to .yml (#24659) 2017-05-16 17:24:35 -07:00
smoke-test-ingest-with-all-dependencies Add BWC compatible processing to ingest date processors (#37407) 2019-01-25 13:50:19 +01:00
smoke-test-multinode Simplify integ test distribution types (#37618) 2019-01-21 12:37:17 -08:00
smoke-test-plugins Move repository-s3 fixture tests to QA test project (#29372) 2018-04-27 16:49:06 +02:00
unconfigured-node-name Elasticsearch support to JSON logging (#36833) 2019-01-29 07:20:09 +01:00
vagrant Elasticsearch support to JSON logging (#36833) 2019-01-29 07:20:09 +01:00
verify-version-constants MINOR: Remove some Deadcode in Gradle (#37160) 2019-01-07 09:21:25 +01:00
wildfly Testing conventions: add support for checking base classes (#36650) 2019-01-08 13:39:03 +02:00
build.gradle Simplify integ test distribution types (#37618) 2019-01-21 12:37:17 -08:00