Kibana 7.5.2 - How to get size on Y axis in metrics dropdown

Hi Experts,

I have Kibana 7.5.2 and have index in elastic search containing data for a process memory and cpu usage. While this data is available in elastic search index , not seeing size as a aggregation option in Y axis dropdown to be able to draw a line or bar graph to show memory usage in MiB (Y axix ) over a period of time (x axis @timestamp)

Do I need to add a new aggregation in elastic search index to be able use size in Y axis ?

  1. If so, please let me know how can I add size as a aggregation in Y axis to be able to show memory usage by a process in MiB. I

Thanks

Can Canvas Be used to show memory usage in MiB by particular process.