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.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...