Log4j2.properties- Rolling File Issue

Hi Team,
we have 4-node cluster elasticsearch-7.5.2 installed and configure Centos 7 in Dev- Environment

Like below :

master-1
master-2
hotnode
warmnode

We are using default log4j2.properties file for roll the logs files everyday with .gz file format But when we checked in the logs in each node , only master node i.e master1 only rolling the logs file .gz rest of the node are not even receiving the any service alert or events in logging in log files.

ex:
Below is the Master-Node:
Master:1
-rw-r--r--. 1 elk elasticsearch 69912 Jun 19 00:00 DevElasticStack-2021-06-18-1.log.gz
-rw-r--r--. 1 elk elasticsearch 74597 Jun 19 00:00 DevElasticStack-2021-06-18-1.json.gz
-rw-r--r--. 1 elk elasticsearch 77119 Jun 20 00:00 DevElasticStack-2021-06-19-1.log.gz
-rw-r--r--. 1 elk elasticsearch 81060 Jun 20 00:00 DevElasticStack-2021-06-19-1.json.gz
-rw-r--r--. 1 elk elasticsearch 77353 Jun 21 00:00 DevElasticStack-2021-06-20-1.log.gz
-rw-r--r--. 1 elk elasticsearch 81333 Jun 21 00:00 DevElasticStack-2021-06-20-1.json.gz
-rw-r--r--. 1 elk elasticsearch 2586115 Jun 21 06:53 DevElasticStack_server.json
-rw-r--r--. 1 elk elasticsearch 2414714 Jun 21 06:53 DevElasticStack.log
-rw-r--r--. 1 elk elasticsearch 50078914 Jun 21 06:54 gc.log

other nodes:ie. hotnode:

-rw-r--r--. 1 elk elasticsearch 67108985 Jun 21 09:10 gc.log.01
-rw-r--r--. 1 elk elasticsearch 2616 Jun 21 09:10 DevElasticStack-2021-06-18-1.json.gz
-rw-r--r--. 1 elk elasticsearch 2472 Jun 21 09:10 DevElasticStack-2021-06-18-1.log.gz
-rw-r--r--. 1 elk elasticsearch 31011 Jun 21 09:10 gc.log.02
-rw-r--r--. 1 elk elasticsearch 1479 Jun 21 09:10 gc.log.03
-rw-r--r--. 1 elk elasticsearch 42182 Jun 21 09:10 DevElasticStack_server.json
-rw-r--r--. 1 elk elasticsearch 31628 Jun 21 09:10 DevElasticStack.log
-rw-r--r--. 1 elk elasticsearch 10053435 Jun 21 15:10 gc.log

Could you please help out. what is problem .

Thanks,
Sudhakar Anguri.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.