diff --git a/production-cluster.yml b/production-cluster.yml index df0d2250..8f1b1872 100644 --- a/production-cluster.yml +++ b/production-cluster.yml @@ -73,7 +73,7 @@ services: ports: - "9200:9200" environment: - - "ES_JAVA_OPTS=-Xms512m -Xmx512m" + - "ES_JAVA_OPTS=-Xms512m -Xmx512m -Dlog4j2.formatMsgNoLookups=true" ulimits: memlock: soft: -1 @@ -96,7 +96,7 @@ services: hostname: elasticsearch-2 restart: always environment: - - "ES_JAVA_OPTS=-Xms512m -Xmx512m" + - "ES_JAVA_OPTS=-Xms512m -Xmx512m -Dlog4j2.formatMsgNoLookups=true" ulimits: memlock: soft: -1 @@ -111,13 +111,13 @@ services: - ./production_cluster/ssl_certs/node2.pem:/usr/share/elasticsearch/config/node2.pem - ./production_cluster/elastic_opendistro/elasticsearch-node2.yml:/usr/share/elasticsearch/config/elasticsearch.yml - ./production_cluster/elastic_opendistro/internal_users.yml:/usr/share/elasticsearch/plugins/opendistro_security/securityconfig/internal_users.yml - + elasticsearch-3: image: amazon/opendistro-for-elasticsearch:1.13.2 hostname: elasticsearch-3 restart: always environment: - - "ES_JAVA_OPTS=-Xms512m -Xmx512m" + - "ES_JAVA_OPTS=-Xms512m -Xmx512m -Dlog4j2.formatMsgNoLookups=true" ulimits: memlock: soft: -1 @@ -132,7 +132,7 @@ services: - ./production_cluster/ssl_certs/node3.pem:/usr/share/elasticsearch/config/node3.pem - ./production_cluster/elastic_opendistro/elasticsearch-node3.yml:/usr/share/elasticsearch/config/elasticsearch.yml - ./production_cluster/elastic_opendistro/internal_users.yml:/usr/share/elasticsearch/plugins/opendistro_security/securityconfig/internal_users.yml - + kibana: image: wazuh/wazuh-kibana-odfe:4.3.0 hostname: kibana diff --git a/xpack-compose.yml b/xpack-compose.yml index f741a7ce..28849a66 100644 --- a/xpack-compose.yml +++ b/xpack-compose.yml @@ -48,7 +48,7 @@ services: - discovery.seed_hosts=elasticsearch,elasticsearch2,elasticsearch3 - cluster.initial_master_nodes=elasticsearch,elasticsearch2,elasticsearch3 - ELASTIC_PASSWORD=SecretPassword - - "ES_JAVA_OPTS=-Xms512m -Xmx512m" + - "ES_JAVA_OPTS=-Xms512m -Xmx512m -Dlog4j2.formatMsgNoLookups=true" - bootstrap.memory_lock=true - xpack.license.self_generated.type=basic - xpack.security.enabled=true @@ -83,7 +83,7 @@ services: - discovery.seed_hosts=elasticsearch,elasticsearch2,elasticsearch3 - cluster.initial_master_nodes=elasticsearch,elasticsearch2,elasticsearch3 - ELASTIC_PASSWORD=SecretPassword - - "ES_JAVA_OPTS=-Xms512m -Xmx512m" + - "ES_JAVA_OPTS=-Xms512m -Xmx512m -Dlog4j2.formatMsgNoLookups=true" - bootstrap.memory_lock=true - xpack.license.self_generated.type=basic - xpack.security.enabled=true @@ -118,7 +118,7 @@ services: - discovery.seed_hosts=elasticsearch,elasticsearch2,elasticsearch3 - cluster.initial_master_nodes=elasticsearch,elasticsearch2,elasticsearch3 - ELASTIC_PASSWORD=SecretPassword - - "ES_JAVA_OPTS=-Xms512m -Xmx512m" + - "ES_JAVA_OPTS=-Xms512m -Xmx512m -Dlog4j2.formatMsgNoLookups=true" - bootstrap.memory_lock=true - xpack.license.self_generated.type=basic - xpack.security.enabled=true @@ -144,7 +144,6 @@ services: - ./xpack/elasticsearch3/elasticsearch3.crt:/usr/share/elasticsearch/config/elasticsearch.crt - kibana: image: wazuh/wazuh-kibana:4.3.0 hostname: kibana