# JSON input field for Visual Builder based plots in Kibana

**URL:** <https://discuss.elastic.co/t/json-input-field-for-visual-builder-based-plots-in-kibana/113052>\
**Category:** Kibana\
**Created:** [December 22, 2017, 8:42pm UTC](https://discuss.elastic.co/t/json-input-field-for-visual-builder-based-plots-in-kibana/113052 "2017-12-22T20:42:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![oleksiy](https://avatars.discourse-cdn.com/v4/letter/o/2bfe46/32.png) [@oleksiy](https://discuss.elastic.co/u/oleksiy)\
**Post date:** [December 22, 2017, 8:42pm UTC](https://discuss.elastic.co/t/json-input-field-for-visual-builder-based-plots-in-kibana/113052/1 "2017-12-22T20:42:21Z")

</div>

Is there any way to add JSON Input in Visual Builder within new Kibana (v5.6.2)? I would really like to add proper {"shard\_size":1000} to my TopN aggregation, but there does not appear to be a place in UI to add this data. I looked at the object metadata in "Saved Objects" and in the source code, and it does not appear to be any parameters for it, but maybe I overlooked it?

---

<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:** [December 26, 2017, 8:20pm UTC](https://discuss.elastic.co/t/json-input-field-for-visual-builder-based-plots-in-kibana/113052/2 "2017-12-26T20:20:29Z")

</div>

Sorry, there isn't a way right now to set a shard\_size for the terms aggregation that you group metrics by.

It sounds like it could be a useful feature though. Would you mind filing an enhancement ticket in the Kibana repo: [https://github.com/elastic/kibana/issues/new](https://github.com/elastic/kibana/issues/new) ?

---

<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:** [January 23, 2018, 8:20pm UTC](https://discuss.elastic.co/t/json-input-field-for-visual-builder-based-plots-in-kibana/113052/3 "2018-01-23T20:20:32Z")

</div>

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