Custom Y-axis in Grafana with ElasticSearch Datasource


I have a scenario, where I want to display a graph panel in Grafana using data from ElasticSearch. This is just to display the trend of last 30 days batch job completion. Job details are already available in ElasticSearch. I want to visualize it in Grafana with Y-axis as Job completion time and X-axis as time series.

Can you please suggest, how to achieve this in Grafana