Weekly Aggregations - Date Histogram Aggregations

Hi Guys,

When we apply the weekly aggregation, we consider the key as start day of the week and the key_as_string is returned as per that.

Is there any possibility to return the key_as_string to be 'start_day_of_week - end_day_of_week'?


I don't think it is currently possible since the key (and also key_as_string) is solely intended to be a bucket identifier, not something that is intended for direct use in a graph, for example. I came across this issue recently which talks a bit about scripted formatting of this, but I don't think this has really made it as a feature request yet.