<?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: field extraction help in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/field-extraction-help/m-p/57871#M14140</link>
    <description>&lt;P&gt;this grabs all the whitespace that is between TCPIP and the end value. Is there anyway to strip out that whitespace? I want to go from TCPIP to the %, and grab the value just before the %.&lt;/P&gt;</description>
    <pubDate>Tue, 29 May 2012 15:04:57 GMT</pubDate>
    <dc:creator>a212830</dc:creator>
    <dc:date>2012-05-29T15:04:57Z</dc:date>
    <item>
      <title>field extraction help</title>
      <link>https://community.splunk.com/t5/Splunk-Search/field-extraction-help/m-p/57869#M14138</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm a relative newbie (power noob?) who is having issues with extracting fields from a multi-line event. A sample is below. I need to parse out each one into field. I tried grabbing the beginning of the field to the end, but I'm not getting anything. Any ideas?   -- \tTCPIP\s(?&lt;TCPIP&gt;.+)%&lt;BR /&gt;
(Not looking for each one - figured if I get one correct, the others would be similiar...)&lt;/TCPIP&gt;&lt;/P&gt;

&lt;P&gt;StartEvent Tue May 22 15:25:33 EDT 2012 ***&lt;BR /&gt;
CPU 0                                                 17%&lt;BR /&gt;
     Object Store                                     10%&lt;BR /&gt;
     HTTP and FTP                                      2%&lt;BR /&gt;
     Access Logging                                    2%&lt;BR /&gt;
     Miscellaneous                                     1%&lt;BR /&gt;
CPU 1                                                 41%&lt;BR /&gt;
     TCPIP                                            18%&lt;BR /&gt;
     HTTP and FTP                                     16%&lt;BR /&gt;
     Policy evaluation - HTTP                          5%&lt;BR /&gt;
     DNS service                                       1%&lt;/P&gt;</description>
      <pubDate>Tue, 22 May 2012 20:02:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/field-extraction-help/m-p/57869#M14138</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2012-05-22T20:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: field extraction help</title>
      <link>https://community.splunk.com/t5/Splunk-Search/field-extraction-help/m-p/57870#M14139</link>
      <description>&lt;P&gt;Assuming you have the line breaking right for the whole event...this works for me to extract the TCPIP %age:&lt;/P&gt;

&lt;P&gt;Updated: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TCPIP\\s+(?&amp;lt;tcpip&amp;gt;.+)%  
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Not sure what you have at the beginning of yours with '--t'&lt;/P&gt;</description>
      <pubDate>Tue, 22 May 2012 22:54:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/field-extraction-help/m-p/57870#M14139</guid>
      <dc:creator>sdaniels</dc:creator>
      <dc:date>2012-05-22T22:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: field extraction help</title>
      <link>https://community.splunk.com/t5/Splunk-Search/field-extraction-help/m-p/57871#M14140</link>
      <description>&lt;P&gt;this grabs all the whitespace that is between TCPIP and the end value. Is there anyway to strip out that whitespace? I want to go from TCPIP to the %, and grab the value just before the %.&lt;/P&gt;</description>
      <pubDate>Tue, 29 May 2012 15:04:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/field-extraction-help/m-p/57871#M14140</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2012-05-29T15:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: field extraction help</title>
      <link>https://community.splunk.com/t5/Splunk-Search/field-extraction-help/m-p/57872#M14141</link>
      <description>&lt;P&gt;&lt;CODE&gt;TCPIP\s+(?&amp;lt;tcpip&amp;gt;\S+)%&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 May 2012 15:11:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/field-extraction-help/m-p/57872#M14141</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2012-05-29T15:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: field extraction help</title>
      <link>https://community.splunk.com/t5/Splunk-Search/field-extraction-help/m-p/57873#M14142</link>
      <description>&lt;P&gt;Thanks to you both. Just started reading my "Mastering Regular Expressions" book!&lt;/P&gt;</description>
      <pubDate>Tue, 29 May 2012 17:06:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/field-extraction-help/m-p/57873#M14142</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2012-05-29T17:06:35Z</dc:date>
    </item>
  </channel>
</rss>

