Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Normalize timestamp time zones #4569

Closed
andrewkroh opened this issue Jun 27, 2017 · 1 comment
Closed

Normalize timestamp time zones #4569

andrewkroh opened this issue Jun 27, 2017 · 1 comment

Comments

@andrewkroh
Copy link
Member

Index names that contain dates may be incorrect when the system timezone is not in UTC. The index name (<beatname>-%{+yyyy.MM.dd}) is generated based on the internal @timestamp value. The date formatter that converts the %{+yyyy.MM.dd} into a date doesn't do any conversion to UTC.

Some Beats may normalize their timestamps to UTC before publishing events and they will not be affected by this bug.

For confirmed bugs, please report:

  • Version: 5.x, 6.0
  • Operating System: all
  • Steps to Reproduce: Use Beats on a system where the timezone is not configured to UTC.
andrewkroh added a commit to andrewkroh/beats that referenced this issue Jul 12, 2017
During event normalization convert any time objects to a common.Time and ensure that the time zone is UTC.

Fixes elastic#4569
ruflin pushed a commit that referenced this issue Jul 14, 2017
During event normalization convert any time objects to a common.Time and ensure that the time zone is UTC.

Fixes #4569
andrewkroh added a commit to andrewkroh/beats that referenced this issue Jul 17, 2017
During event normalization convert any time objects to a common.Time and ensure that the time zone is UTC.

Fixes elastic#4569
(cherry picked from commit 29f4cc7)
andrewkroh added a commit to andrewkroh/beats that referenced this issue Jul 17, 2017
During event normalization convert any time objects to a common.Time and ensure that the time zone is UTC.

Fixes elastic#4569
(cherry picked from commit 29f4cc7)
tsg pushed a commit that referenced this issue Jul 18, 2017
…e zone (#4683)

* Normalize times to common.Time with UTC time zone (#4658)

During event normalization convert any time objects to a common.Time and ensure that the time zone is UTC.

Fixes #4569
(cherry picked from commit 29f4cc7)

* Fix changelog
tsg pushed a commit that referenced this issue Jul 18, 2017
…e zone (#4684)

* Normalize times to common.Time with UTC time zone (#4658)

During event normalization convert any time objects to a common.Time and ensure that the time zone is UTC.

Fixes #4569
(cherry picked from commit 29f4cc7)

* Fix changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant