Data table using "key" vs. "key_as_String"

Hi all,

I'm having the same problem referenced in this thread: Kibana Data Table Date Histogram Aggregation Useless labels - namely, when I split a table and use a Date Histogram aggregation, the column labels appear in epoch time rather than a human-readable format, even when I explicitly specify format.

Although, inspecting the response data, I think I see the problem - the formatted date is returned in key_as_string, but key is still in epoch time. I'm assuming that Kibana is using key as the column label rather than key_as_string.

Is this intentional, and/or is there a way to force Kibana to use key_as_string?

Hi, which version of Kibana are you using? If this is your issue: https://github.com/elastic/kibana/issues/33010 it should be fixed in 7.2.0 and later.

It's 7.1.1, looks like. (We're using AWS' managed ES service, so, we're stuck with whatever they deign to give us.) I'll look around and see if there's a way they allow it to be upgraded.

Thank you!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.