<?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 Using rex to extract a field from transactioned event in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Using-rex-to-extract-a-field-from-transactioned-event/m-p/175787#M50500</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;
I'm trying to extract 2 fields from a transacted search, one for the max and one for the usage.&lt;/P&gt;

&lt;P&gt;looks like;&lt;/P&gt;

&lt;P&gt;2015-03-12 12:10:11,180 INFO  metrics - type=GAUGE, name=heap.max, value=1908408320&lt;BR /&gt;
2015-03-12 12:10:11,181 INFO  metrics - type=GAUGE, name=heap.used, value=82831232&lt;/P&gt;</description>
    <pubDate>Thu, 12 Mar 2015 15:07:10 GMT</pubDate>
    <dc:creator>markthompson</dc:creator>
    <dc:date>2015-03-12T15:07:10Z</dc:date>
    <item>
      <title>Using rex to extract a field from transactioned event</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Using-rex-to-extract-a-field-from-transactioned-event/m-p/175787#M50500</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
I'm trying to extract 2 fields from a transacted search, one for the max and one for the usage.&lt;/P&gt;

&lt;P&gt;looks like;&lt;/P&gt;

&lt;P&gt;2015-03-12 12:10:11,180 INFO  metrics - type=GAUGE, name=heap.max, value=1908408320&lt;BR /&gt;
2015-03-12 12:10:11,181 INFO  metrics - type=GAUGE, name=heap.used, value=82831232&lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2015 15:07:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Using-rex-to-extract-a-field-from-transactioned-event/m-p/175787#M50500</guid>
      <dc:creator>markthompson</dc:creator>
      <dc:date>2015-03-12T15:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: Using rex to extract a field from transactioned event</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Using-rex-to-extract-a-field-from-transactioned-event/m-p/175788#M50501</link>
      <description>&lt;P&gt;I have solved this by using;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;rex field=_raw "name=heap.max, value=(?&amp;lt;Max&amp;gt;\S+)" | rex field=_raw "name=heap.used, value=(?&amp;lt;Used&amp;gt;\S+)"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 12 Mar 2015 15:07:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Using-rex-to-extract-a-field-from-transactioned-event/m-p/175788#M50501</guid>
      <dc:creator>markthompson</dc:creator>
      <dc:date>2015-03-12T15:07:45Z</dc:date>
    </item>
  </channel>
</rss>

