# Need a graph for JVM Heap used value coming in message field

**URL:** https://discuss.elastic.co/t/need-a-graph-for-jvm-heap-used-value-coming-in-message-field/35370
**Category:** Kibana
**Created:** [November 23, 2015, 11:47pm UTC](https://discuss.elastic.co/t/need-a-graph-for-jvm-heap-used-value-coming-in-message-field/35370 "2015-11-23T23:47:54Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![prasoot](https://avatars.discourse-cdn.com/v4/letter/p/22d042/32.png) [@prasoot](https://discuss.elastic.co/u/prasoot)
#### Post date: [November 23, 2015, 11:47pm UTC](https://discuss.elastic.co/t/need-a-graph-for-jvm-heap-used-value-coming-in-message-field/35370/1 "2015-11-23T23:47:54Z")

</div>

Hi,

Just started on ELK.

I have a JVMHeapUsage log available in ELK.

The "message" field has value like below:  
11/24/15; 10:42:01; 837287936; 536870912; 3817865216; 335988528; 320  
11/24/15; 10:40:01; 834142208; 536870912; 3817865216; 484898800; 462

where the last part of message (320 or 462) is JVM heap usage in MB.

I need to display a graph of this value over the timeline.

How can I get this value from the message string and use as Y axis for graph.

Any help is highly appreciated.

Thanks in advance  
Prasoon

---

<div class="post-metadata">

### Author: ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)
#### Post date: [November 29, 2015, 10:37am UTC](https://discuss.elastic.co/t/need-a-graph-for-jvm-heap-used-value-coming-in-message-field/35370/2 "2015-11-29T10:37:21Z")

</div>

Use Logstash and its csv filter (or grok) to split the input message into discrete fields. After that you'll have a `jvm_usage` field (or whatever you like to call it) that you can plot in Kibana. Note that you can't have Kibana plot _all_ values, but you can e.g. use a max aggregation which over a sufficiently small interval (time histogram bucket size) becomes very close to a plot of all values.

---

<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/need-a-graph-for-jvm-heap-used-value-coming-in-message-field/35370/3 "2017-07-06T14:08:00Z")

</div>


