<?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 Re: how to retrieve memory value from GC log in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/how-to-retrieve-memory-value-from-GC-log/m-p/292077#M164990</link>
    <description>&lt;P&gt;I got the answer through regex.&lt;/P&gt;</description>
    <pubDate>Tue, 21 Nov 2017 10:39:28 GMT</pubDate>
    <dc:creator>sangs8788</dc:creator>
    <dc:date>2017-11-21T10:39:28Z</dc:date>
    <item>
      <title>how to retrieve memory value from GC log</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-retrieve-memory-value-from-GC-log/m-p/292076#M164989</link>
      <description>&lt;P&gt;I have below event from GC log,&lt;/P&gt;

&lt;P&gt;2017-11-20T23:13:13.311-0800: 205957.353: [GC (Allocation Failure) 5152315K-&amp;gt;4647798K(9100152K), 0.0800170 secs]&lt;/P&gt;

&lt;P&gt;How do i retrieve the value for Allocation before GC ran, Allocation after GC ran, Heap memory and the GC time from the event ?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2017 10:32:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-retrieve-memory-value-from-GC-log/m-p/292076#M164989</guid>
      <dc:creator>sangs8788</dc:creator>
      <dc:date>2017-11-21T10:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: how to retrieve memory value from GC log</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-retrieve-memory-value-from-GC-log/m-p/292077#M164990</link>
      <description>&lt;P&gt;I got the answer through regex.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2017 10:39:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-retrieve-memory-value-from-GC-log/m-p/292077#M164990</guid>
      <dc:creator>sangs8788</dc:creator>
      <dc:date>2017-11-21T10:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: how to retrieve memory value from GC log</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-retrieve-memory-value-from-GC-log/m-p/292078#M164991</link>
      <description>&lt;P&gt;@sangs8788, Similar question has been asked for GC Log: &lt;A href="https://answers.splunk.com/answers/568989/garbage-collection-logs-field-extraction-from-log.html"&gt;https://answers.splunk.com/answers/568989/garbage-collection-logs-field-extraction-from-log.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Try the following regular expression: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;\[([^\(]+)\(([^\)]+)\)[\)|\s]+(?&amp;lt;field1&amp;gt;\d+)K-\&amp;gt;(?&amp;lt;field2&amp;gt;\d+)K\((?&amp;lt;field3&amp;gt;\d+)K\), (?&amp;lt;field4&amp;gt;[\d|\.]+)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You can test your regular expression with sample log data on regex101.com&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2017 10:40:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-retrieve-memory-value-from-GC-log/m-p/292078#M164991</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-11-21T10:40:26Z</dc:date>
    </item>
  </channel>
</rss>

