# Create a Chart by specific field value

**URL:** <https://discuss.elastic.co/t/create-a-chart-by-specific-field-value/63042>\
**Category:** Kibana\
**Created:** [October 14, 2016, 10:07am UTC](https://discuss.elastic.co/t/create-a-chart-by-specific-field-value/63042 "2016-10-14T10:07:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![swatermeyer](https://avatars.discourse-cdn.com/v4/letter/s/dec6dc/32.png) [@swatermeyer](https://discuss.elastic.co/u/swatermeyer)\
**Post date:** [October 14, 2016, 10:07am UTC](https://discuss.elastic.co/t/create-a-chart-by-specific-field-value/63042/1 "2016-10-14T10:07:44Z")

</div>

Hello guys,  
i am struggling in creating a nice chart for the following data:

Every minute I'm collecting the current Thread count of my JVM.

Timestamp, Thread Count  
Sat Oct 08 15:02:00 2016, 10  
Sat Oct 08 15:03:00 2016, 10  
Sat Oct 08 15:04:00 2016, 12  
Sat Oct 08 15:05:00 2016, 13  
Sat Oct 08 15:06:00 2016, 10

I like to have line chart where I can see how many threads are active at point in time.  
How can I create such a chart with Kibana 4 using the parsed ThreadCount and not the count of lines...?

---

<div class="post-metadata">

**Author:** ![jbudz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jbudz/32/45922_2.png) [@jbudz](https://discuss.elastic.co/u/jbudz)\
**Post date:** [October 14, 2016, 4:34pm UTC](https://discuss.elastic.co/t/create-a-chart-by-specific-field-value/63042/2 "2016-10-14T16:34:15Z")

</div>

Is thread count in its own field and mapped as a number? If it is, then you should be able to see it when selecting a metric field: ![](https://us1.discourse-cdn.com/elastic/original/2X/4/4a8d7aedad747b964b621a73825471e4ffc173f9.png)

If it's not in its own field, it will need to be parsed something like logstash.

---

<div class="post-metadata">

**Author:** ![swatermeyer](https://avatars.discourse-cdn.com/v4/letter/s/dec6dc/32.png) [@swatermeyer](https://discuss.elastic.co/u/swatermeyer)\
**Post date:** [October 16, 2016, 2:22pm UTC](https://discuss.elastic.co/t/create-a-chart-by-specific-field-value/63042/3 "2016-10-16T14:22:57Z")

</div>

Yes, that was exactly the problem that the field wasnt converted to an integer value. Therefore this selection was not possible. Thanks for helping me out!

---

<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:36pm UTC](https://discuss.elastic.co/t/create-a-chart-by-specific-field-value/63042/4 "2017-07-06T13:36:27Z")

</div>


