# Graph plotting for GC

**URL:** <https://discuss.elastic.co/t/graph-plotting-for-gc/182849>\
**Category:** Kibana\
**Created:** [May 27, 2019, 6:59am UTC](https://discuss.elastic.co/t/graph-plotting-for-gc/182849 "2019-05-27T06:59:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![shabhaskar](https://avatars.discourse-cdn.com/v4/letter/s/a88e57/32.png) [@shabhaskar](https://discuss.elastic.co/u/shabhaskar)\
**Post date:** [May 27, 2019, 6:59am UTC](https://discuss.elastic.co/t/graph-plotting-for-gc/182849/1 "2019-05-27T06:59:15Z")

</div>

Hi There ,  
was able to parse the GC logs and can split the details as required ,please find the below sample output of "Discover" window

```
Time TYPE gc_type gc_cause totalHeap UsedAafterGC before_gc real sys YoungGenafter_gc youngUsedAftergc youngGenbeforeGC     
	May 20, 2019 @ 15:02:05.701	PSYoungGen	GC	Allocation Failure	28,160	10,913 15,577 0	0 9,216 1,238 5,910

```

now I need to plot a graph for youngen and oldgen Heap pattern along with GC cause and GC duration ...could you please let me know how i can do tht ( i tried with line and Data table but not able figure out

---

<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:** [May 27, 2019, 7:08am UTC](https://discuss.elastic.co/t/graph-plotting-for-gc/182849/2 "2019-05-27T07:08:26Z")

</div>

Is this for Elasticsearch GC?

---

<div class="post-metadata">

**Author:** ![shabhaskar](https://avatars.discourse-cdn.com/v4/letter/s/a88e57/32.png) [@shabhaskar](https://discuss.elastic.co/u/shabhaskar)\
**Post date:** [May 27, 2019, 7:32am UTC](https://discuss.elastic.co/t/graph-plotting-for-gc/182849/3 "2019-05-27T07:32:00Z")

</div>

Thanks for the reply, nope ,its for Tomcat appserver GC log ,here I m using file beat to push the data to log stash and with filter, I m formatting the captured log ,now I want to plot a graph which shows the GC pattern

---

<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:** [June 24, 2019, 7:32am UTC](https://discuss.elastic.co/t/graph-plotting-for-gc/182849/4 "2019-06-24T07:32:02Z")

</div>

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