# Split charts and their own X-Axis

**URL:** <https://discuss.elastic.co/t/split-charts-and-their-own-x-axis/32460>\
**Category:** Kibana\
**Created:** [October 19, 2015, 8:12am UTC](https://discuss.elastic.co/t/split-charts-and-their-own-x-axis/32460 "2015-10-19T08:12:24Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![logilouis](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/logilouis/32/5525_2.png) [@logilouis](https://discuss.elastic.co/u/logilouis)\
**Post date:** [October 19, 2015, 8:12am UTC](https://discuss.elastic.co/t/split-charts-and-their-own-x-axis/32460/1 "2015-10-19T08:12:24Z")

</div>

Hi guys!

I have few APIs and each of them have multiple endpoints (like function/method name). I created a vertical bar chart, split chart (row) using API name, and X-Axis associated with the endpoints.The Y-Axis is simple hit count.

How can I have each split chart showing only their respective endpoints in the X-Axis? Currently it is one X-Axis with all the endpoints, and as a result the X-Axis is very long and each chart has a lot of empty fields.

One workaround I have is to create a bar chart visualization for each API respectively, but this will eventually requires lots of effort to maintain them when more APIs are developed. Please advise if there's better way to achieve this.

Thanks!

---

<div class="post-metadata">

**Author:** ![tbragin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tbragin/32/45166_2.png) [@tbragin](https://discuss.elastic.co/u/tbragin)\
**Post date:** [October 21, 2015, 5:36am UTC](https://discuss.elastic.co/t/split-charts-and-their-own-x-axis/32460/2 "2015-10-21T05:36:15Z")

</div>

Could you post a screenshot illustrating your configuration and resulting visualization?

---

<div class="post-metadata">

**Author:** ![logilouis](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/logilouis/32/5525_2.png) [@logilouis](https://discuss.elastic.co/u/logilouis)\
**Post date:** [October 23, 2015, 6:06am UTC](https://discuss.elastic.co/t/split-charts-and-their-own-x-axis/32460/3 "2015-10-23T06:06:47Z")

</div>

Hi Tanya,

 ![](https://us1.discourse-cdn.com/elastic/original/2X/4/43c2678924ac3d29f2d056361301317bce8897b2.png)

Refer to above, the top 2 services by the name of **GetCustomerInfo** and **maintainQuote** has only one endpoint, whereas the service at the last row **SelfServiceDepot** has got multiple endpoints.

To better explain - the first X-Axis field appears as blank is because GetCustomerInfo and maintainQuote has only one endpoint and it is default to some kind of root path which appears as _blank_. This does not apply to SelfServiceDepot because it has multiple endpoints and there's no default endpoint.

I would like to know if there is a way for us to achieve something like below:  
 ![](https://us1.discourse-cdn.com/elastic/original/2X/5/54cb9994cd43e04549e6037bcbce8200910f1168.png)

Thanks!

---

<div class="post-metadata">

**Author:** ![tbragin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tbragin/32/45166_2.png) [@tbragin](https://discuss.elastic.co/u/tbragin)\
**Post date:** [October 26, 2015, 4:31am UTC](https://discuss.elastic.co/t/split-charts-and-their-own-x-axis/32460/4 "2015-10-26T04:31:23Z")

</div>

Gotcha. I think the only way to achieve that would be to override the "blank" value for the first two services with the value you'd like to plot on the x-axis. The [Logstash mutate filter](https://www.elastic.co/guide/en/logstash/current/plugins-filters-mutate.html) should let you do that.

---

<div class="post-metadata">

**Author:** ![logilouis](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/logilouis/32/5525_2.png) [@logilouis](https://discuss.elastic.co/u/logilouis)\
**Post date:** [October 29, 2015, 3:03am UTC](https://discuss.elastic.co/t/split-charts-and-their-own-x-axis/32460/5 "2015-10-29T03:03:04Z")

</div>

Hi Tanya,

Sorry for not being able to explain my question clearer. I will try again with slightly different illustration.

Assuming the structure of data is as below:  
 ![](https://us1.discourse-cdn.com/elastic/original/2X/7/763537949c623d419fbb54b9038c370a6b175ba8.png)

Using back the same bar chart visualization configuration:

- Y-Axis =\> Unique count of MsgId
- Split Chart =\> Top 5 ServiceName
- X-Axis =\> Top 20 EndPoint

I will get something like below:

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

I would like to know if it is possible to have something like below illustration:

 ![](https://us1.discourse-cdn.com/elastic/original/2X/1/18f7ac09bb7497d7a62c58d2007ed1f127cd617c.png)

Thanks!

---

<div class="post-metadata">

**Author:** ![tbragin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tbragin/32/45166_2.png) [@tbragin](https://discuss.elastic.co/u/tbragin)\
**Post date:** [October 29, 2015, 3:39am UTC](https://discuss.elastic.co/t/split-charts-and-their-own-x-axis/32460/6 "2015-10-29T03:39:26Z")

</div>

I see what you're saying now. Yeah, it's not possible in the product today. I can see how this might be useful for terms within terms visualization (see my example below). You could try instead doing a split pie chart example, but it's also not ideal because there is only one giant legend to the right.

I'd encourage you to file an enhancement request, if it's important to you: [https://github.com/elastic/kibana/issues](https://github.com/elastic/kibana/issues)

![](https://us1.discourse-cdn.com/elastic/original/2X/5/59d803ae9fb60694289a7fce644f772406e25878.png)

![](https://us1.discourse-cdn.com/elastic/original/2X/6/638ed514ab45b316dfdde3e4c8797486a9510b5d.png)

---

<div class="post-metadata">

**Author:** ![logilouis](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/logilouis/32/5525_2.png) [@logilouis](https://discuss.elastic.co/u/logilouis)\
**Post date:** [October 29, 2015, 4:34am UTC](https://discuss.elastic.co/t/split-charts-and-their-own-x-axis/32460/7 "2015-10-29T04:34:37Z")

</div>

Tanya - Thanks for the confirmation! I will proceed to raise a enhancement request on this.

---

<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:** [July 6, 2017, 2:10pm UTC](https://discuss.elastic.co/t/split-charts-and-their-own-x-axis/32460/8 "2017-07-06T14:10:29Z")

</div>


