# Help with JSON Input in KIbana

**URL:** https://discuss.elastic.co/t/help-with-json-input-in-kibana/62203
**Category:** Kibana
**Created:** [October 4, 2016, 5:59pm UTC](https://discuss.elastic.co/t/help-with-json-input-in-kibana/62203 "2016-10-04T17:59:54Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![bhumi](https://avatars.discourse-cdn.com/v4/letter/b/edb3f5/32.png) [@bhumi](https://discuss.elastic.co/u/bhumi)
#### Post date: [October 4, 2016, 5:59pm UTC](https://discuss.elastic.co/t/help-with-json-input-in-kibana/62203/1 "2016-10-04T17:59:54Z")

</div>

Hi,

I have recently started using Kibana for visualization purposes. I am exploring field JSON Input.

Can anyone help me in understanding how we can actually utilize JSON Input field.

Basically I am trying to get a view of "Running Total" - bar chart over the period of time.

I came across few aggregations in knowledge base of Kibana but the query is throwing error.

Any help or information on this will be highly appreciated. Thanks.

Input for reference:

{   
"size":0,  
"aggs" : {  
"total\_per\_month" : {  
"date\_histogram" : {  
"field" : "reportDate",  
"interval" : "month"  
},  
"aggs": {  
"1": {  
"sum": {  
"field": counts"  
}  
},  
"cumulative\_total": {  
"cumulative\_sum": {  
"buckets\_path": "1"  
}  
}  
}  
}  
}  
}

---

<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: [October 4, 2016, 7:21pm UTC](https://discuss.elastic.co/t/help-with-json-input-in-kibana/62203/2 "2016-10-04T19:21:34Z")

</div>

The JSON input is mainly for adding parameters to the current aggregation that Kibana wouldn't usually support. Eg, [shard\_size in the Terms agg](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-terms-aggregation.html#_shard_size_2).

There is an open ticket to add cumulative aggregation support, and you can read more about it [here](https://github.com/elastic/kibana/issues/740). However, your not completely out of luck. There is support for this through a plugin called [Timelion](https://www.elastic.co/blog/timelion-timeline). In version 5.0 of Kibana, this plugin will actually be shipped as part of the core.

---

<div class="post-metadata">

### Author: ![bhumi](https://avatars.discourse-cdn.com/v4/letter/b/edb3f5/32.png) [@bhumi](https://discuss.elastic.co/u/bhumi)
#### Post date: [October 4, 2016, 8:30pm UTC](https://discuss.elastic.co/t/help-with-json-input-in-kibana/62203/3 "2016-10-04T20:30:06Z")

</div>

Thanks for the quick response.  
This is helpful.

Regards,  
Bhumika

---

<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, 1:37pm UTC](https://discuss.elastic.co/t/help-with-json-input-in-kibana/62203/4 "2017-07-06T13:37:37Z")

</div>


