Getting Data In

Hong Kong Timezone HKT not being recognised ?

mzorzi
Splunk Employee
Splunk Employee

If I index an event with

2015-05-20 19:10:01.132 HKT This is an event  in Hong Kong Time Zone

The timezone will not be recognized. If instead the event is

2015-05-20 19:10:01.132 HongKong This is an event  in Hong Kong Time Zone

The timezone will be recognized. However the HKT is commonly used across my devices. How do I get Splunk to recognize HKT?

Tags (1)
0 Karma

mzorzi
Splunk Employee
Splunk Employee

This is a known issue which will be solved with Splunk 6.2.4

There is an easy workaround to have this working on the current release:

1. mkdir $SPLUNK_HOME/share/splunk/zoneinfo

2. ( Assuming the Indexer is a Linux box )  cp /usr/share/zoneinfo/Hongkong $SPLUNK_HOME/share/splunk/zoneinfo/HKT

3. Restart Splunk.

And it will recognize the HKT timezone correctly.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Break the Build: Inside the KubeDoom Lounge at .conf26

    You step up to the machine. The pixelated corridors of a certain 1993 FPS load in front of you, EMP Pulse ...

Splunk Auto Ingestion Parallel Pipeline Scaling

Why this feature matters Many Splunk environments experience ingestion pressure long before the host is fully ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...