-
Notifications
You must be signed in to change notification settings - Fork 418
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
Adding timezone support in ECS #213
Comments
My thoughts on the questions:
I'm not the right person to figure out the time differential adjustment on DST change. |
The reasons we picked seconds in a previous version of ECS is that it makes it possible to calculate things and should be able to cover all the "in the middle" time zones. But I also see the value of the canonical time zone. It will be the case that not all sources can provide the same format but what is the format we can convert all of these two during ingest time? |
Well Ingest Node supports the 3 formats, so perhaps we can leave this open ended for now. Actually, would people care if their event stream has a mix of timezone formats? I think they're useful mostly to adjust timestamps. I don't think people do aggregations on them or visualize them. It's just a low level bit of information meant for the pipeline to interpret the date correctly. |
If it's mainly for the pipeline, should we even have it in ECS? |
Well in some pretty big use cases like default syslog messages, you don't get a full timestamp that includes the timezone. So we've come up with workarounds like combining Beats' It doesn't need to be a core field, though. Most modern solutions don't make that mistake and have complete timestamps. |
What do you think about this, @MikePaquette ? |
@webmat I think you made a good point around that most newer systems have the full timestamps and this is mainly for conversion. Based on the above some thoughts on my end:
Side note: Would be great if ingest processor could depend on |
Awesome. Will get that going shortly. I agree with |
You mean |
ECS is currently missing timezone support.
We used to have fields where the value should be defined as a differential in seconds, which we agreed to remove, as it was not very friendly (
device.timezone.offset.sec
andhost.timezone.offset.sec
).In order to re-introduce the timezone, we need to pick a field name, and what values we support in there.
Fun facts:
-05:00
)EST
).Europe/Amsterdam
)Europe/Amsterdam
)Here are a few questions that could help shape the direction here:
@MikePaquette @ruflin @andrewkroh
The text was updated successfully, but these errors were encountered: