Converting String to Date in Kibana

I have the date as YYYY-MM-DD in kibana, I want to convert this one to date, so that i can use it in Visualisation.

Hi,

You can use runtime fields to do your mapping. or scripted fields if you are on a version older than 7.11 of elasticstack.

Here are our es docs - Runtime fields | Elasticsearch Guide [master] | Elastic
Getting started with runtime fields, Elastic’s implementation of schema on read | Elastic Blog

You can do it using UI in kibana -

Thanks
Bhavya

Where can i see the output of runtime fields , i am not able to see it, if i create scripted fields and i use it in kibana, i am getting aggregation errors.