# Kibana Visualization count aggregation - CVSS scores

**URL:** https://discuss.elastic.co/t/kibana-visualization-count-aggregation-cvss-scores/97970
**Category:** Kibana
**Created:** [August 22, 2017, 7:48pm UTC](https://discuss.elastic.co/t/kibana-visualization-count-aggregation-cvss-scores/97970 "2017-08-22T19:48:10Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![wirecutter313](https://avatars.discourse-cdn.com/v4/letter/w/ecc23a/32.png) [@wirecutter313](https://discuss.elastic.co/u/wirecutter313)
#### Post date: [August 22, 2017, 7:48pm UTC](https://discuss.elastic.co/t/kibana-visualization-count-aggregation-cvss-scores/97970/1 "2017-08-22T19:48:10Z")

</div>

I've got a bunch of vulnerability data with CVSS scores. I'm trying to create a pie or vertical bar chart that groups ranges of CVSS scores into the following categories:

Rating CVSS Score  
Low 0.1 - 3.9  
Medium 4.0 - 6.9  
High 7.0 - 8.9  
Critical 9.0 - 10.0

I'm not sure how to go about this In a perfect world I'd have a chart with Low, Medium, High and Critical shown

---

<div class="post-metadata">

### Author: ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)
#### Post date: [August 23, 2017, 12:26am UTC](https://discuss.elastic.co/t/kibana-visualization-count-aggregation-cvss-scores/97970/2 "2017-08-23T00:26:09Z")

</div>

Split the slices on a range aggregation. The only limitation currently I believe is you can not alias those ranges.

Example:

![55](https://us1.discourse-cdn.com/elastic/original/3X/0/2/02b5dac3fbb22d9e55d72b2940f2fe2e98f1cda1.png)

---

<div class="post-metadata">

### Author: ![wirecutter313](https://avatars.discourse-cdn.com/v4/letter/w/ecc23a/32.png) [@wirecutter313](https://discuss.elastic.co/u/wirecutter313)
#### Post date: [August 23, 2017, 2:03pm UTC](https://discuss.elastic.co/t/kibana-visualization-count-aggregation-cvss-scores/97970/3 "2017-08-23T14:03:06Z")

</div>

I can work with that idea..

Being able to Alias would be really nice, more so from the security side of the house. We could get around this if Kibana still had the "text box", but it sounds like we're kind of limited with options.

---

<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 20, 2017, 2:03pm UTC](https://discuss.elastic.co/t/kibana-visualization-count-aggregation-cvss-scores/97970/4 "2017-09-20T14:03:06Z")

</div>

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