Getting Data In

how to change the upload time stamp?

Abilan1
Path Finder

Hi ,

Actually I am having splunk index servers in Eastern Time Zone (UTC-5:00) but some of my application servers are in Hong Kong Time Zone (UTC+ 08:00). so now if I see the data in splunk it's all are in Eastern Time zone. I wanted to change the time stamp to Hong Kong Time zone only for these servers.

Tags (2)
0 Karma

woodcock
Esteemed Legend

To change this you can add several host= stanzas inside props.conf with TZ=Hongkong for those particular servers and either deploy them to the Forwarders or the Indexers and restart the Splunk instances there. This will effect only events indexed after the restart. You can purge the wrong events from the Indexers, clean the fishbucket on the Forwarders and then they will resend the events.

0 Karma

richgalloway
SplunkTrust
SplunkTrust

No data can be changed once it's been indexed, including timestamps. Having all events in a common time zone makes it far easier to correlate them without any confusing mental math. One could probably come up with a sequence of eval statements to convert Hong Kong times back to that time zone, but that might be confusing and would not work for users in other time zones.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to January Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...

[Puzzles] Solve, Learn, Repeat: Reprocessing XML into Fixed-Length Events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...