Basic Elastic Search Query

@michaelaeino can you please provide a screen shot on how to achieved this ? I am trying to achieve similar to what you were trying to Grafana how to calculate metric_value.now - 5 min (metric_value before 5 min)