Getting Data In

Where are Splunk valid TZ options in props.conf?

hongduan
Explorer

Where can I find a list of all possible and valid TZ options for props.conf?

Tags (2)
1 Solution

woodcock
Esteemed Legend

Programatically, for your Splunk instance, here:

| rest/servicesNS/-/search/data/ui/manager 
| regex eai:data="Time zone" 
| head 1 
| rename eai:data AS _raw 
| table _raw 
| rex mode=sed "s/(?ms)^.*Default System Timezone --\"\/>[\s\r\n]+(.*?)<\/options>.*$/\1/" 
| eval raw=split(_raw, "<opt value=") 
| mvexpand raw 
| rex field=raw "^\"(?<value>[^\"]+)\"\s+label=\"(?<label>[^\"]+)\"" 
| fields - _raw raw
| search label="*" AND value="*"

inventsekar
Super Champion

Hi @woodcock Programatically meaning, on the splunk query itself, we can view different timezones ah

>>> Happy Splunking !
0 Karma

woodcock
Esteemed Legend

Right. You can see what splunk supports natively.

0 Karma

antlefebvre
Communicator
Get Updates on the Splunk Community!

What’s new on Splunk Lantern in August

This month’s Splunk Lantern update gives you the low-down on all of the articles we’ve published over the past ...

Welcome to the Future of Data Search & Exploration

You have more data coming at you than ever before. Over the next five years, the total amount of digital data ...

This Week's Community Digest - Splunk Community Happenings [8.3.22]

Get the latest news and updates from the Splunk Community here! News From Splunk Answers ✍️ Splunk Answers is ...