<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Garbage collector graph for heap usage in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/Garbage-collector-graph-for-heap-usage/m-p/438282#M3696</link>
    <description>&lt;P&gt;I am trying to create a dashboard for Heap analysis. There I would like to plot a line graph with a time taken for Full gc. So I extracted 3 feilds 1.Afg: memory after full Gc 2. Memory Before Full Gc 3. Tfg: time taken for full Gc. My data looks like this  &lt;/P&gt;

&lt;P&gt;_time                                                 Bfg (in bytes)  Afg((iin bytes)                 Tfg in Sec&lt;BR /&gt;
2018-06-05T01:41:59.882-0700        3827336          2714566           13.974176&lt;BR /&gt;
2018-06-05T14:12:27.501-0700            3464646     2852415                14.039128&lt;BR /&gt;
2018-05-25T01:32:57.757-0700            3802706          2080387          10.89727&lt;BR /&gt;
2018-05-15T10:20:43.301-0700            3400723          1793472           9.449684&lt;BR /&gt;
2018-05-17T02:36:08.789-0700             2946767    1731755                  9.05516&lt;/P&gt;

&lt;P&gt;I wanted to plot line graph for BFG and AFG  and show the Tfg values on the Afg line at the corresponding  values. &lt;BR /&gt;
Please find the attached line graph for reference. &lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/5126i605F7CD6133D0E96/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;BR /&gt;
 Can some one help me with the SPL?&lt;/P&gt;</description>
    <pubDate>Tue, 05 Jun 2018 22:18:39 GMT</pubDate>
    <dc:creator>kmahamkali</dc:creator>
    <dc:date>2018-06-05T22:18:39Z</dc:date>
    <item>
      <title>Garbage collector graph for heap usage</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Garbage-collector-graph-for-heap-usage/m-p/438282#M3696</link>
      <description>&lt;P&gt;I am trying to create a dashboard for Heap analysis. There I would like to plot a line graph with a time taken for Full gc. So I extracted 3 feilds 1.Afg: memory after full Gc 2. Memory Before Full Gc 3. Tfg: time taken for full Gc. My data looks like this  &lt;/P&gt;

&lt;P&gt;_time                                                 Bfg (in bytes)  Afg((iin bytes)                 Tfg in Sec&lt;BR /&gt;
2018-06-05T01:41:59.882-0700        3827336          2714566           13.974176&lt;BR /&gt;
2018-06-05T14:12:27.501-0700            3464646     2852415                14.039128&lt;BR /&gt;
2018-05-25T01:32:57.757-0700            3802706          2080387          10.89727&lt;BR /&gt;
2018-05-15T10:20:43.301-0700            3400723          1793472           9.449684&lt;BR /&gt;
2018-05-17T02:36:08.789-0700             2946767    1731755                  9.05516&lt;/P&gt;

&lt;P&gt;I wanted to plot line graph for BFG and AFG  and show the Tfg values on the Afg line at the corresponding  values. &lt;BR /&gt;
Please find the attached line graph for reference. &lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/5126i605F7CD6133D0E96/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;BR /&gt;
 Can some one help me with the SPL?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jun 2018 22:18:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Garbage-collector-graph-for-heap-usage/m-p/438282#M3696</guid>
      <dc:creator>kmahamkali</dc:creator>
      <dc:date>2018-06-05T22:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: Garbage collector graph for heap usage</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Garbage-collector-graph-for-heap-usage/m-p/438283#M3697</link>
      <description>&lt;P&gt;Any recommendations? &lt;/P&gt;</description>
      <pubDate>Mon, 11 Jun 2018 17:34:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Garbage-collector-graph-for-heap-usage/m-p/438283#M3697</guid>
      <dc:creator>kmahamkali</dc:creator>
      <dc:date>2018-06-11T17:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: Garbage collector graph for heap usage</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Garbage-collector-graph-for-heap-usage/m-p/438284#M3698</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;You will need to tweak things a little for the scale issue on the y axis. Divide your bytes by 10 ^6 to convert them to GB first, if that is acceptable try something like this &lt;CODE&gt;|&lt;BR /&gt;
eval bfg_gb= round(Bfg (in bytes)/1000000,1) |eval afg_gb= round(afg (in bytes)/1000000,1)|eval tfg=round(tfg,1)| chart values(bfg_gb),values(afg_gb),values(tfg) by _time&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Check the output, is this similar to what you need?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jun 2018 17:19:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Garbage-collector-graph-for-heap-usage/m-p/438284#M3698</guid>
      <dc:creator>Sukisen1981</dc:creator>
      <dc:date>2018-06-12T17:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: Garbage collector graph for heap usage</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Garbage-collector-graph-for-heap-usage/m-p/438285#M3699</link>
      <description>&lt;P&gt;Awesome that works&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jun 2018 20:26:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Garbage-collector-graph-for-heap-usage/m-p/438285#M3699</guid>
      <dc:creator>kmahamkali</dc:creator>
      <dc:date>2018-06-14T20:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: Garbage collector graph for heap usage</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Garbage-collector-graph-for-heap-usage/m-p/438286#M3700</link>
      <description>&lt;P&gt;hi @kmahamkali , if the answer is satisfactory, please accept the answer&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jun 2018 09:11:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Garbage-collector-graph-for-heap-usage/m-p/438286#M3700</guid>
      <dc:creator>Sukisen1981</dc:creator>
      <dc:date>2018-06-15T09:11:19Z</dc:date>
    </item>
  </channel>
</rss>

