# Type of aggregation?

**URL:** <https://discuss.elastic.co/t/type-of-aggregation/198478>\
**Category:** Kibana\
**Created:** [September 6, 2019, 7:56pm UTC](https://discuss.elastic.co/t/type-of-aggregation/198478 "2019-09-06T19:56:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![SirJune](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sirjune/32/55205_2.png) [@SirJune](https://discuss.elastic.co/u/SirJune)\
**Post date:** [September 6, 2019, 7:56pm UTC](https://discuss.elastic.co/t/type-of-aggregation/198478/1 "2019-09-06T19:56:45Z")

</div>

Hi,  
I have these documents in ElasticSearch (single indexname)  
|datetime|, |label|, |count|  
2019-09-06 13:32:18,host1 service1,876  
2019-09-06 13:32:18,host1 service1,353  
2019-09-06 13:32:18,host2 service2,911  
2019-09-06 13:32:18,host2 service2,55

My fields are "datetime", "label" and "count". How do I graph these 4 numbers as it is? I tried VisualBuilderTimeSeries but the aggregations "max" or "min" will basically drop the two values, and what i get are just 2 (points): 1 for host1 and one for host2. Is there a way to plot these in 1 line(X) and show all 4 numbers ?

thanks,  
SirJune

---

<div class="post-metadata">

**Author:** ![Mark\_Harwood](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mark_harwood/32/10538_2.png) [@Mark\_Harwood](https://discuss.elastic.co/u/Mark_Harwood)\
**Post date:** [September 13, 2019, 2:32pm UTC](https://discuss.elastic.co/t/type-of-aggregation/198478/2 "2019-09-13T14:32:12Z")

</div>

> [@SirJune](#):
>
> I tried VisualBuilderTimeSeries

I think you need the Kibana forum - moving there.

---

<div class="post-metadata">

**Author:** ![wylie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wylie/32/81794_2.png) [@wylie](https://discuss.elastic.co/u/wylie)\
**Post date:** [September 13, 2019, 2:49pm UTC](https://discuss.elastic.co/t/type-of-aggregation/198478/3 "2019-09-13T14:49:25Z")

</div>

Kibana is primarily for aggregated data, but there are 2 built-in tools that let you break out of this.

- Vega lets you run a search query and graph it directly [https://www.elastic.co/blog/custom-vega-visualizations-in-kibana](https://www.elastic.co/blog/custom-vega-visualizations-in-kibana)
- Canvas has tools to show individual documents in various graph types

---

<div class="post-metadata">

**Author:** ![SirJune](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sirjune/32/55205_2.png) [@SirJune](https://discuss.elastic.co/u/SirJune)\
**Post date:** [September 16, 2019, 7:56pm UTC](https://discuss.elastic.co/t/type-of-aggregation/198478/4 "2019-09-16T19:56:18Z")

</div>

Thank you Mark and Wylie! I will try to explore Vega and Canvas.

---

<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:** [October 14, 2019, 7:56pm UTC](https://discuss.elastic.co/t/type-of-aggregation/198478/5 "2019-10-14T19:56:22Z")

</div>

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