All Apps and Add-ons

Index search from different time zone

DataOrg
Builder

i have a user in Eastern time who need to view the dashboard of two extreme location of different time zone.
if u apply time range option last 4hours it will be apply with the user current time zone but if the data from asia region it will be not the last 4 hours latest data of asia timing.
how to over come this

0 Karma

lmaclean
Path Finder

Hi premranjithj,

So as long as the data incoming from the various systems are configured with the timezone of their source. i.e. If a server from Asia has in its props.conf the "TZ = ..." set to its local timezone. Then Splunk will automatically convert this in its backend to UTC, then it will show the event time in the user's configured timezone that was/is set within their account preferences... No matter what timezone it is actually coming from.

If you don't tell Splunk that the data coming in is in a different timezone (non-UF data) then it will presume it is UTC. If it is via a UF agent then I believe the UF will recognise the system time of where it is installed...

Hopefully that helps you

0 Karma

DataOrg
Builder

but the user are from both location. consider if user1(ASIA timezone) view asia and europe data with timerane as last 4 hours.
will be the the last 4 hours of asia and also europe????
same vice versa if user2 in europe timezone view last 24 hours of data of asia will it be applicable to user configured timezone or the data of asia timezone?

0 Karma

lmaclean
Path Finder

No, it will show all data that the user(s) have access to for that time range But note that if the user is in Aisa they are roughly 6-10 hours ahead of Europe, so last 4 hours won't show that data because that would be "in the future" for Europe... I believe for the Europe user if selecting "last 4 hours", then it will show data that is current for Europe but because of timezones will be several hours old of the Asia systems...

The time for the events (if on "list" view in search), will show it in the user's configured time zone. Whereas the _raw event will show the original time no matter what is set in Splunk.

This is why most places that have international presence will just set all systems to UTC, then Splunk, Windows, etc... will convert the time to the user's configured timezone but the data coming in will be in the one timezone...

Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...