Where is the equivilent of terms_stats in Kibana 4?

I use terms_stats pretty heavily in Kibana 3, but can't seem to find a way to do the same thing in Kibana 4... tips?

I think what you are after is to just setup a bucket in the terms field, and then potentially sub-bucket that?

There is no pre-made terms_stats panel in K4, but you can construct it yourself by adding multiple metrics. In K4, you also have access to Percentiles and Percentile Ranks, which are not available in K3.