Grafana Visualisation Monthly avg

Hi Team,

I am using Elasticsearch as datasource for grafana and i need to plot the chart based on monthly calculation,

below is the graph,

Can you please suggest how can i do the monthly chart keeping x axis as time series itself .

P. S : the above graph i have plotted with 30days interval.

TIA