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
Log EventTimestamp in ISO format #3619
Comments
@ahmelsayed how critical is this? This be a breaking change and would have potential impact on the analytics team. Need to understand this in more detail before we decide to make this change. |
It's extremely annoying, but has a workaround of
|
@jcookems we are trying to assess if we can take this change. Need your help to asses the impact of the change on our existing analytics. |
Analytics cannot use the column currently because it is not ISO format. I would like this fix. Please feel free to ask the Analytics team next time you are concerned a fix might affect us. |
@jcookems would using the syntax below make the column usable or are there additional constrains that prevent Analytics from using it.
|
@jcookems @soninaren while I don't have a dog in this fight (figuratively speaking) I would ask that both sides settle on how the ISO string is formatted when the time stamp happens to fall on an exact even second boundary (in the context of the time resolution of the system). In the past I was burned (granted due to some quick and dirty sloppy parsing on my part) because a time stamp string returned as part of a table query of a Date field (NOT the time stamp managed directly by Azure) did NOT include .000 when the time was an even second. Other trailing zeroes were included (e.g. ... 13.330 or ... 15.100). |
My issue was not so much with ISO 8601 but with formats that don't work with todatetime/make_datedate. (The docs imply those won't work with non-ISO8601 formats.) Those Kusto functions work with the "AM/PM" suffixes, but some events emitted by HostVersion 1.0.12529.0 don't follow that: they either end with a space or "a. m./p. m."
The highlighted formats do not parse properly.
The parsed hour is incorrect. It should be "13" not "01". Likewise:
Again, the parsed timestamp is not correct. |
any updates on this? |
Moving this to triaged. Should be picked up during sprint planning. |
Fixed by b768710 |
Currently it's logged as
10/16/2018 01:01:06.887 AM
and the kusto client can't orderAM
vsPM
properly. It mixes them. Ideally we would log in ISO"O"
or""yyyy-MM-dd'T'HH:mm:ss zzz"
formatThe text was updated successfully, but these errors were encountered: