Hello Leandro,
Follow the answers, let me if you need more information.
++++++++++++++++++++++++++++++++
-
What do you mean by group A, B, C and D?
I only named by groups for a better understanding, but we can figurate them like this:
Group A - JBoss app for specifi funcion - (oK in Kibana)
Group B - Weblogic specific domains group app for specifi funcion - (oK in Kibana)
Group C - Weblogic specific domains group app for specifi funcion - (oK in Kibana)
Group D - Weblogic specific domains group app for specifi funcion <-- this the environment that has the issue (1h delayed) to show graphics in Kibana
-
These are different servers?
Yes
-
What are their timezones?
App servers per group:
The timeZones in the these App servers(A, B, C and D) is "/usr/share/zoneinfo/America/Sao_Paulo"
Group A - /usr/share/zoneinfo/America/Sao_Paulo
date "+%z%Z"
-0300-03
Group B - /usr/share/zoneinfo/America/Sao_Paulo
Local time: Mon 2021-11-08 13:33:51 -03
Universal time: Mon 2021-11-08 16:33:51 UTC
RTC time: Mon 2021-11-08 16:33:51
Time zone: America/Sao_Paulo (-03, -0300)
NTP enabled: no
NTP synchronized: yes
RTC in local TZ: no
DST active: n/a
Group C - /usr/share/zoneinfo/America/Sao_Paulo
date "+%z%Z"
-0300-03
Group D - /usr/share/zoneinfo/America/Sao_Paulo
date "+%z%Z"
-0300-03
ELK logstash servers --> it is in UTC, as it shown below:
Local time: Mon 2021-11-08 10:37:56 -03
Universal time: Mon 2021-11-08 13:37:56 UTC
RTC time: Mon 2021-11-08 13:37:56
Time zone: America/Sao_Paulo (-03, -0300)
NTP enabled: yes
NTP synchronized: yes
RTC in local TZ: no
DST active: n/a
- What is the time in the log file you are parsing? Share an example.
Folow the examples:
Group A -
JVM_accesslog --> 08/Nov/2021:00:00:01 -0300
server.log --> 2021-11-08 12:00:06,200
Group B -
JVM_acess_log --> 08/Nov/2021:12:11:29 -0300
JVM_log --> <07/11/2021 10h53min47s GMT-03:00> and <07/11/2021 10h51min32s BRT>
Group C -
JVM_acess_log --> 2021-11-07 11:00:14
JVM_log --> <Nov 7, 2021 10:57:29 AM BRT>
Group D -
JVM_access_log --> 2021-11-08 11:04:36
JVM_log --> <08/11/2021 10h06min34s BRT>
What is the configuration of your date filter in your Logstash configuration?
ELK logstash filter:
date {
match => [ "timestamp" , "dd/MMM/yyyy:HH:mm:ss Z" ]
timezone => "America/Sao_Paulo"
}
- What is the timezone configuration of your server, are they in UTC or in the local timezone?
Group A - /usr/share/zoneinfo/America/Sao_Paulo
date "+%z%Z"
-0300-03
Group B - /usr/share/zoneinfo/America/Sao_Paulo
Local time: Mon 2021-11-08 13:33:51 -03
Universal time: Mon 2021-11-08 16:33:51 UTC
RTC time: Mon 2021-11-08 16:33:51
Time zone: America/Sao_Paulo (-03, -0300)
NTP enabled: no
NTP synchronized: yes
RTC in local TZ: no
DST active: n/a
Group C - /usr/share/zoneinfo/America/Sao_Paulo
date "+%z%Z"
-0300-03
Group D - /usr/share/zoneinfo/America/Sao_Paulo
date "+%z%Z"
-0300-03
ELK logstash servers --> it is in UTC, as it shown below:
Local time: Mon 2021-11-08 10:37:56 -03
Universal time: Mon 2021-11-08 13:37:56 UTC
RTC time: Mon 2021-11-08 13:37:56
Time zone: America/Sao_Paulo (-03, -0300)
NTP enabled: yes
NTP synchronized: yes
RTC in local TZ: no
DST active: n/a
-
Also, are they Linux or Windows?
Group A - Linux RHEL AS 4 / Linux RHEL 5.11
Group B - Linux RHEL 7.4 / Linux RHEL 5.11
Group C - Linux RHEL 5.11
Group D - Linux RHEL 5.11
ELK logstash serves - Linux CentOS 7.7.1908
-
Are the servers updated?
If you mean about the last O.S. and/or ELK version, they are not.