<?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 Field extraction query in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Field-extraction-query/m-p/67221#M16798</link>
    <description>&lt;P&gt;Any pointers on how to extract the third field &lt;BR /&gt; Event1: &lt;FIELD1&gt; &lt;FIELD2&gt; &amp;lt;&lt;FIELD3&gt;&amp;gt; &lt;FIELD4&gt; &lt;BR /&gt; Event2: &lt;FIELD1&gt; &lt;FIELD2&gt; &lt;FIELD3&gt; &lt;FIELD4&gt; &lt;BR /&gt; the third field is populated with double &amp;lt;&amp;lt;&amp;gt;&amp;gt; and sometimes with single &amp;lt;&amp;gt;.&lt;/FIELD4&gt;&lt;/FIELD3&gt;&lt;/FIELD2&gt;&lt;/FIELD1&gt;&lt;/FIELD4&gt;&lt;/FIELD3&gt;&lt;/FIELD2&gt;&lt;/FIELD1&gt;&lt;/P&gt;

&lt;P&gt;regex for double&amp;lt;&amp;lt;&amp;gt;&amp;gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;\s+&amp;lt;([^&amp;gt;]+\&amp;gt;)&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;regex for single &amp;lt;&amp;gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;\s+&amp;lt;([^&amp;gt;]+)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;how to combine both?&lt;/P&gt;</description>
    <pubDate>Wed, 20 Mar 2013 08:09:14 GMT</pubDate>
    <dc:creator>p_basanth</dc:creator>
    <dc:date>2013-03-20T08:09:14Z</dc:date>
    <item>
      <title>Field extraction query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-extraction-query/m-p/67221#M16798</link>
      <description>&lt;P&gt;Any pointers on how to extract the third field &lt;BR /&gt; Event1: &lt;FIELD1&gt; &lt;FIELD2&gt; &amp;lt;&lt;FIELD3&gt;&amp;gt; &lt;FIELD4&gt; &lt;BR /&gt; Event2: &lt;FIELD1&gt; &lt;FIELD2&gt; &lt;FIELD3&gt; &lt;FIELD4&gt; &lt;BR /&gt; the third field is populated with double &amp;lt;&amp;lt;&amp;gt;&amp;gt; and sometimes with single &amp;lt;&amp;gt;.&lt;/FIELD4&gt;&lt;/FIELD3&gt;&lt;/FIELD2&gt;&lt;/FIELD1&gt;&lt;/FIELD4&gt;&lt;/FIELD3&gt;&lt;/FIELD2&gt;&lt;/FIELD1&gt;&lt;/P&gt;

&lt;P&gt;regex for double&amp;lt;&amp;lt;&amp;gt;&amp;gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;\s+&amp;lt;([^&amp;gt;]+\&amp;gt;)&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;regex for single &amp;lt;&amp;gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;\s+&amp;lt;([^&amp;gt;]+)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;how to combine both?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2013 08:09:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-extraction-query/m-p/67221#M16798</guid>
      <dc:creator>p_basanth</dc:creator>
      <dc:date>2013-03-20T08:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: Field extraction query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-extraction-query/m-p/67222#M16799</link>
      <description>&lt;P&gt;First of all it seems your regex for double brackets is incorrect? Unless you want to match the inner brackets...I'm assuming this is what you want in my answer.&lt;/P&gt;

&lt;P&gt;How about&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;\s+&amp;lt;(.+?&amp;gt;*)&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 20 Mar 2013 08:46:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-extraction-query/m-p/67222#M16799</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2013-03-20T08:46:23Z</dc:date>
    </item>
  </channel>
</rss>

