Getting Data In

How to use timezone in Multi-Timezone system?

dianbo_1
Path Finder

Hi,

There are several questions about timezone configuration.

  1. I know that splunk use the timezone information in raw event data first. But what kinds of timezone string can be used. In my test, CET, EDT, PST, GMT and GMT+0700 can be recognized, but Asia/Yerevan and Europe/Berlin can not be.

  2. How to set splunk's global timezone to a value that different from system's. For example, the timezone of server is GMT, then how to set splunk's global timezone to GMT+0100.

  3. If Splunk use system's timezone to get its time information, will it change correspondingly if the system's timezone is changed.

  4. How to display timezone information in the time column of the EventsViewer module in flashtimeline?

  5. How to specified timezone information when search in splunk web? We have a old syslog log analysis application which used to deal with log files in USA. Now we want to move all log datas to a splunk installed in a server in Deutschland. We specified timezone information in props.conf, so the times are changed to Deutsch time. But it is inconvenient for the users to change times by timezone when search in the splunk web (They should change the time string to Deutsch time before a search rather than search directly).

Thanks & Best Regards,

Dianbo

Tags (1)
0 Karma

gkanapathy
Splunk Employee
Splunk Employee
  1. Whatever zoneinfo names are on your system are valid, provided your time format captures them. On Windows, Splunk ships with a copy of the zoneinfo database.

  2. What do you mean by "Splunk global timezone" specifically? You can of course change the zone/locale for the Splunk user if you want it to run as if it were in another time zone.

  3. Yes.

  4. date_zone field contains the time zone offset from GMT, in minutes.

  5. There is currently no way to have Splunk Web display time zones in anything other than the Splunk server time. However, you could set up a Splunk search head in a different time zone and search back to an indexer in a different time zone. This will display all times in the search head time zone.

Simeon
Splunk Employee
Splunk Employee

You have too many questions lumped together. You should break them apart.

sideview
SplunkTrust
SplunkTrust

I think this is best split apart into a couple different questions here rather than lumped into a single large question.

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!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...