# Timelion - top hits aggregation

**URL:** <https://discuss.elastic.co/t/timelion-top-hits-aggregation/166731>\
**Category:** Kibana\
**Tags:** timelion\
**Created:** [February 1, 2019, 12:25pm UTC](https://discuss.elastic.co/t/timelion-top-hits-aggregation/166731 "2019-02-01T12:25:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Francisca\_Lima](https://avatars.discourse-cdn.com/v4/letter/f/edb3f5/32.png) [@Francisca\_Lima](https://discuss.elastic.co/u/Francisca_Lima)\
**Post date:** [February 1, 2019, 12:25pm UTC](https://discuss.elastic.co/t/timelion-top-hits-aggregation/166731/1 "2019-02-01T12:25:48Z")

</div>

Hello,

Is it possible to use top hits aggregation in Kibana Timelion? I do not found that metric in the list of metrics, but there is any solution to workaround?

Thank you.

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [February 22, 2019, 10:28am UTC](https://discuss.elastic.co/t/timelion-top-hits-aggregation/166731/2 "2019-02-22T10:28:16Z")

</div>

Top hits is not available in Timelion afaik. But you can achieve the same things with TSVB which has the Top Hit aggregation available.

---

<div class="post-metadata">

**Author:** ![Francisca\_Lima](https://avatars.discourse-cdn.com/v4/letter/f/edb3f5/32.png) [@Francisca\_Lima](https://discuss.elastic.co/u/Francisca_Lima)\
**Post date:** [March 1, 2019, 3:28pm UTC](https://discuss.elastic.co/t/timelion-top-hits-aggregation/166731/3 "2019-03-01T15:28:11Z")

</div>

Thank you, but the idea was not to calculate but also to display the value on the vega graph, as a metric.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 29, 2019, 3:28pm UTC](https://discuss.elastic.co/t/timelion-top-hits-aggregation/166731/4 "2019-03-29T15:28:16Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
