When using the Vega visualization engine to graph data, I use the flatten transform to turn a single document that contains an array of length n into n documents with a single element from the array.
From:
To:
This is great within Kibana, but others consuming the data through ES queries would like to perform the same transformation. Is there some way to transform data similarly in an ES query?