# Json Input for Kibana 4

**URL:** <https://discuss.elastic.co/t/json-input-for-kibana-4/35362>\
**Category:** Kibana\
**Created:** [November 23, 2015, 9:10pm UTC](https://discuss.elastic.co/t/json-input-for-kibana-4/35362 "2015-11-23T21:10:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sandeeptengli](https://avatars.discourse-cdn.com/v4/letter/s/e99b99/32.png) [@sandeeptengli](https://discuss.elastic.co/u/sandeeptengli)\
**Post date:** [November 23, 2015, 9:10pm UTC](https://discuss.elastic.co/t/json-input-for-kibana-4/35362/1 "2015-11-23T21:10:52Z")

</div>

Hi I'm new to ES and Kibana.

I am using Metric and Line chart visualization.

For Metric, I want to get the total count if the one of the term in greater than or less some value.

How and where to give the condition. Is that JSON input in the Visualization tab or it's in the settings.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 23, 2015, 11:52pm UTC](https://discuss.elastic.co/t/json-input-for-kibana-4/35362/2 "2015-11-23T23:52:18Z")

</div>

You can use a range agg for that 🙂

---

<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:08pm UTC](https://discuss.elastic.co/t/json-input-for-kibana-4/35362/3 "2017-07-06T14:08:26Z")

</div>


