Vega visualization help - display key as string time

Hi all - currently working on a vega visualization and not able to figure out the right time any help would be appreciated. I am trying to display the time that we see in the console "key_as_string". How do I do this?

I moved this to the Kibana forum as it does not appear to be an Elasticsearch question.