# Creating visualization type in kibana

**URL:** <https://discuss.elastic.co/t/creating-visualization-type-in-kibana/194409>\
**Category:** Kibana\
**Created:** [August 8, 2019, 11:05am UTC](https://discuss.elastic.co/t/creating-visualization-type-in-kibana/194409 "2019-08-08T11:05:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Satyaki\_Sengupta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/satyaki_sengupta/32/51940_2.png) [@Satyaki\_Sengupta](https://discuss.elastic.co/u/Satyaki_Sengupta)\
**Post date:** [August 8, 2019, 11:05am UTC](https://discuss.elastic.co/t/creating-visualization-type-in-kibana/194409/1 "2019-08-08T11:05:58Z")

</div>

hi ,  
Suppose we have four fields in a elk index. Example -\> id(01), service\_name(xyz),duration(61,369).  
Duration field is in milliseconds .  
Now we have to create a visualization out of it in such a why where duration field have to sort by desc order and out of that there will be a range like top 20% will be worst , 21-70% will be avg and 71-100% will be good and we have to count the service\_name falling under these three range.

Pls help me with the steps .

---

<div class="post-metadata">

**Author:** ![tiagocosta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tiagocosta/32/40045_2.png) [@tiagocosta](https://discuss.elastic.co/u/tiagocosta)\
**Post date:** [August 9, 2019, 2:29pm UTC](https://discuss.elastic.co/t/creating-visualization-type-in-kibana/194409/2 "2019-08-09T14:29:46Z")

</div>

@Satyaki_Sengupta I think you could create 3 table visualisations order by duration desc including in each visualization only the percentile you want.

If you want everything in one visualization I think you will need to create a scripted field in order to calculate your range rank for each metric

Cheers

---

<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:** [September 6, 2019, 2:29pm UTC](https://discuss.elastic.co/t/creating-visualization-type-in-kibana/194409/3 "2019-09-06T14:29:48Z")

</div>

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