Deployment Architecture

SearchHead with different times (_time)

isac_santana
Explorer

Good morning,

I need help. I have three SearchHead servers.

Two of them (SH1 and SH2) are presenting the "_time" field correctly. However, the other server (SH3) is presenting the "_time" field with three hours more than the other two (SH1 and SH2).

How do I resolve this?


SH2 - Normal

isac_santana_0-1730211725301.png


SH3 - With three more hours. (With same search range)

isac_santana_1-1730211866683.png

 

Labels (2)
0 Karma
1 Solution

pavinic
Engager

Siga os comandos abaixo no linux, compare com os servidores existentes, e aplique o timezone desejado

# MUDAR TIMEZONE DO SERVICOR via linux
# identifica timezone do servidor
timedatectl
# lista os timezones
timedatectl list-timezones
# configura o timezone desejado
sudo timedatectl set-timezone America/Sao_Paulo
 
Captura de Tela 2024-10-30 às 11.12.19.png

View solution in original post

pavinic
Engager

Siga os comandos abaixo no linux, compare com os servidores existentes, e aplique o timezone desejado

# MUDAR TIMEZONE DO SERVICOR via linux
# identifica timezone do servidor
timedatectl
# lista os timezones
timedatectl list-timezones
# configura o timezone desejado
sudo timedatectl set-timezone America/Sao_Paulo
 
Captura de Tela 2024-10-30 às 11.12.19.png

dural_yyz
Motivator

Are the search heads in the same time zone, are they configured for the same time zone?

Are the user profiles set to the appropriate time zone?

There are a lot of factors at play here and mostly to do with local configurations which you haven't confirmed yet.

0 Karma

isac_santana
Explorer

Hey, good afternoon.

The configurations on these servers weren't done by me, and I have limited knowledge of Splunk administration. That’s why it's been challenging to identify where the "_time" discrepancy is coming from.

  • The search query is exactly the same, retrieving the same data within the same time range.

  • The user’s timezone is set to "Default System TimeZone."

  • I believe all the SHs are also set to "Default System TimeZone" (although it’s been difficult to confirm this information).

SH1 and SH2 are older servers, while SH3, which shows the difference in "_time," is a recently installed and configured server within the cluster (also configured by someone else).

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...