elastic / timelion

Timelion was absorbed into Kibana 5. Don't use this. Time series composer for Elasticsearch and beyond.
Other
347 stars 79 forks source link

How to sort using different metric on split #202

Open buinauskas opened 7 years ago

buinauskas commented 7 years ago

Hello,

I've got the following Timelion expressions:

.es(index=rpc-completed-*, split=Procedure.keyword:10).bars(5)
.es(index=rpc-completed-*, split=Procedure.keyword:10, metric=avg:Duration).bars(5)

The only difference is that the second one has average duration as a metric and I'd expect the second one to bring back top 10 results with highest average duration over time series, but it does not, it still uses count of values.

Is there a way/workaround to do that in Timelion?

Thanks