Refine your search:

Is there a way to update the timestamp of the legacy data to reflect the new UTC time change without reindexing?

asked 22 Feb '10, 20:41

Ellen's gravatar image

Ellen ♦
1.8k319
accept rate: 72%

edited 17 Apr '10, 01:44

jrodman's gravatar image

jrodman ♦
5.8k2515


3 Answers:

We store the timestamp values in UTC always, and just display them in the localtime where the server is configured, so changing the timezone of splunk should not damage the accuracy of the timestamps in any way.

What might be trouble is if the incoming log datastream does not declare its timezone, and thus the newly arriving data is interpreted differently from the historical data (one of them is probably wrong!)

link

answered 11 Mar '10, 09:10

jrodman's gravatar image

jrodman ♦
5.8k2515
accept rate: 42%

There is not. It's not entirely clear to me that this makes sense anyway, unless all the old data was incorrectly timestamped. If the old data was on Eastern, and was indexed as if it were on Eastern, then its timestamps should still be correct, notwithstanding subsequent changes to the time zone of new data.

Of course, if the timestamp was indexed wrong in the first place, it basically needs to be deleted and reindexed/re-imported.

link

answered 22 Feb '10, 22:32

gkanapathy's gravatar image

gkanapathy ♦
26.4k1622
accept rate: 42%

If your configuration or the data does not specify a time zone, then Splunk will assume that this data is is in the same time zone as the Splunk indexer. So there will be a different interpretation of timestamps unless all of them are explicitly set.

(17 Apr '10, 07:28) gkanapathy ♦

For splunk forwarders running on windows, i have found that you must restart the splunkd to have it recognize a system timezone change.

link

answered 25 Feb '11, 17:00

gfriedmann's gravatar image

gfriedmann
20710
accept rate: 11%

Post your answer
toggle preview

Follow this question

Log In to enable email subscriptions

RSS:

Answers

Answers + Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×1,089
×196
×44

Asked: 22 Feb '10, 20:41

Seen: 1,119 times

Last updated: 25 Feb '11, 17:00

Copyright © 2005-2012 Splunk, Inc. All rights reserved.