You probably need to transform this data before visualizing it. In Elasticsearch 7.3 there is a free (basic license) feature for continuous data frame transforms which lets you do this, or you can use a transform pipeline like Logstash to do this.