-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Incorrect timezone reported with logstash and elasticsearch Filebeat modules #9756
Comments
Pinging @elastic/stack-monitoring |
@ycombinator I think we should investigate why LS and ES don't log the timezone in the first place too. |
@ruflin said:
Elasticsearch is getting structured logging in the future. This would be a good opportunity to include the time zone in their log timestamps. I started a conversation about this on the structured logging PR here: https://github.com/elastic/elasticsearch/pull/36833/files#r244225243 For Logstash, I created this issue: elastic/logstash#10238 |
This PR updates the following filesets in the `elasticsearch` Filebeat module to accept a `var.convert_timezone` configuration setting: * [x] server * [x] audit * [x] slowlog * [x] deprecation The `gc` fileset was not modified because Elasticsearch GC logs already emit timestamps with timezone information in them. Fixes partially #9756. Related: #9797.
…earch module filesets (#9830) Cherry-pick of PR #9761 to 6.x branch. Original message: This PR updates the following filesets in the `elasticsearch` Filebeat module to accept a `var.convert_timezone` configuration setting: * [x] server * [x] audit * [x] slowlog * [x] deprecation The `gc` fileset was not modified because Elasticsearch GC logs already emit timestamps with timezone information in them. Fixes partially #9756. Related: #9797.
…earch module filesets (#10403) * Allow users to convert timezone in elasticsearch module filesets (#9761) This PR updates the following filesets in the `elasticsearch` Filebeat module to accept a `var.convert_timezone` configuration setting: * [x] server * [x] audit * [x] slowlog * [x] deprecation The `gc` fileset was not modified because Elasticsearch GC logs already emit timestamps with timezone information in them. Fixes partially #9756. Related: #9797. (cherry picked from commit 3559e58) * Regenerating generated files * Fixing duplicated header in CHANGELOG * Updating generated file
…ogstash module filesets (elastic#10407) Cherry-pick of PR elastic#9797 to 6.6 branch. Original message: This PR updates the following filesets in the `logstash` Filebeat module to accept a `var.convert_timezone` configuration setting: * [x] log * [x] slowlog Fixes partially elastic#9756. Related: elastic#9761
…lasticsearch module filesets (elastic#10403) * Allow users to convert timezone in elasticsearch module filesets (elastic#9761) This PR updates the following filesets in the `elasticsearch` Filebeat module to accept a `var.convert_timezone` configuration setting: * [x] server * [x] audit * [x] slowlog * [x] deprecation The `gc` fileset was not modified because Elasticsearch GC logs already emit timestamps with timezone information in them. Fixes partially elastic#9756. Related: elastic#9797. (cherry picked from commit 43d976e) * Regenerating generated files * Fixing duplicated header in CHANGELOG * Updating generated file
Timestamps in neither Elasticsearch nor Logstash logs contain timezone information. Currently the
elasticsearch
andlogstash
Filebeat modules simply index these timestamps as-is (without any timezone information), causing Kibana to interpret them as being in UTC.Like the
system
Filebeat module, theelasticsearch
andlogstash
Filebeat modules should support thevar.convert_timezone
configuration setting.The text was updated successfully, but these errors were encountered: