<?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 Between Keywords Help in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Field-Extraction-Between-Keywords-Help/m-p/413653#M7161</link>
    <description>&lt;P&gt;New to field extractions but hoping this is an easy one that i just can't figure out for myself.  I have a syslog server sending raw logs and want to extract a new field that consists of all the data (string) between  and  so that i can use it in a search.  So for example, if i had a raw log that said:&lt;/P&gt;

&lt;P&gt;Jan 18 10:58:38 10.0.254.51 &amp;lt;134&amp;gt;Jan 18 10:58:38 from="&lt;A href="mailto:something@something.com"&gt;something@something.com&lt;/A&gt;" to="&lt;A href="mailto:someone@someone.com"&gt;someone@someone.com&lt;/A&gt;" RE: [EXTERNAL] Files for Review#012 #012&lt;/P&gt;

&lt;P&gt;I want to extract a field called "subject" that would consist of only "RE: [EXTERNAL] Files for Review".  Of course as messages flow through, the subject will change among them, but that's the just of it.  It is already identifying a From and To field so my end result I am trying to create will be a table that will consist of:&lt;/P&gt;

&lt;P&gt;"From"     "To"     "Subject"&lt;/P&gt;

&lt;P&gt;I tried rex field=_raw "\" : "&amp;lt;(?.*)&amp;gt;" but it did not like that.&lt;/P&gt;

&lt;P&gt;Any help is greatly appreciated!&lt;/P&gt;</description>
    <pubDate>Fri, 18 Jan 2019 17:13:16 GMT</pubDate>
    <dc:creator>ghostdog920</dc:creator>
    <dc:date>2019-01-18T17:13:16Z</dc:date>
    <item>
      <title>Field Extraction Between Keywords Help</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Field-Extraction-Between-Keywords-Help/m-p/413653#M7161</link>
      <description>&lt;P&gt;New to field extractions but hoping this is an easy one that i just can't figure out for myself.  I have a syslog server sending raw logs and want to extract a new field that consists of all the data (string) between  and  so that i can use it in a search.  So for example, if i had a raw log that said:&lt;/P&gt;

&lt;P&gt;Jan 18 10:58:38 10.0.254.51 &amp;lt;134&amp;gt;Jan 18 10:58:38 from="&lt;A href="mailto:something@something.com"&gt;something@something.com&lt;/A&gt;" to="&lt;A href="mailto:someone@someone.com"&gt;someone@someone.com&lt;/A&gt;" RE: [EXTERNAL] Files for Review#012 #012&lt;/P&gt;

&lt;P&gt;I want to extract a field called "subject" that would consist of only "RE: [EXTERNAL] Files for Review".  Of course as messages flow through, the subject will change among them, but that's the just of it.  It is already identifying a From and To field so my end result I am trying to create will be a table that will consist of:&lt;/P&gt;

&lt;P&gt;"From"     "To"     "Subject"&lt;/P&gt;

&lt;P&gt;I tried rex field=_raw "\" : "&amp;lt;(?.*)&amp;gt;" but it did not like that.&lt;/P&gt;

&lt;P&gt;Any help is greatly appreciated!&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jan 2019 17:13:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Field-Extraction-Between-Keywords-Help/m-p/413653#M7161</guid>
      <dc:creator>ghostdog920</dc:creator>
      <dc:date>2019-01-18T17:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extraction Between Keywords Help</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Field-Extraction-Between-Keywords-Help/m-p/413654#M7162</link>
      <description>&lt;P&gt;Figured it out.  On the regular expression build wizard of creating a new field i just need to include additional different samples so the expression could build.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jan 2019 17:57:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Field-Extraction-Between-Keywords-Help/m-p/413654#M7162</guid>
      <dc:creator>ghostdog920</dc:creator>
      <dc:date>2019-01-18T17:57:07Z</dc:date>
    </item>
  </channel>
</rss>

