# Kibana (json input) - wrong counter (Count) for vertical bar

**URL:** https://discuss.elastic.co/t/kibana-json-input-wrong-counter-count-for-vertical-bar/90212
**Category:** Kibana
**Created:** [June 21, 2017, 7:40am UTC](https://discuss.elastic.co/t/kibana-json-input-wrong-counter-count-for-vertical-bar/90212 "2017-06-21T07:40:06Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![MarvinK](https://avatars.discourse-cdn.com/v4/letter/m/b5ac83/32.png) [@MarvinK](https://discuss.elastic.co/u/MarvinK)
#### Post date: [June 21, 2017, 7:40am UTC](https://discuss.elastic.co/t/kibana-json-input-wrong-counter-count-for-vertical-bar/90212/1 "2017-06-21T07:40:06Z")

</div>

Hey,  
for my visualisation with the vertical bar-type in Kibana i need to divide the Count (Y-Axis, Aggregation-\>Count) by number 2. In conclusion the vertical bars should look as half as high as they are at this moment.

I know that there is a point in Kibana called "Advanced" where i can use json input.  
My pseudocode should look like:

value\_count = value\_count / 2 (in result the smaller vertical bars).

**It would be great if there is anybody in order to help me with my problem!**

---

<div class="post-metadata">

### Author: ![tsullivan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsullivan/32/31077_2.png) [@tsullivan](https://discuss.elastic.co/u/tsullivan)
#### Post date: [June 21, 2017, 6:42pm UTC](https://discuss.elastic.co/t/kibana-json-input-wrong-counter-count-for-vertical-bar/90212/2 "2017-06-21T18:42:49Z")

</div>

Hi,

The "Advanced" input with JSON input it to add aggregation properties to customize to the aggregations sent to Elasticsearch. It's not really something you would be able to enter a calculation into.

Have you looked into using Timelion or Time Series Visual Builder? Those visualization tools have ways of adding calculations.

---

<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 19, 2017, 6:42pm UTC](https://discuss.elastic.co/t/kibana-json-input-wrong-counter-count-for-vertical-bar/90212/3 "2017-07-19T18:42:56Z")

</div>

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