<?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 extract one field from the data listed? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-one-field-from-the-data-listed/m-p/385800#M112647</link>
    <description>&lt;P&gt;Thanks for the quick response. I probably should have clarified that I just need one field extraction for all of the data listed. I also should have mentioned that the 'Subject Line' could be any alpha numeric characters separated by the quotes. Example; "Alert - Your Login Information"&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 06 Aug 2018 18:31:15 GMT</pubDate>
    <dc:creator>chrisschum</dc:creator>
    <dc:date>2018-08-06T18:31:15Z</dc:date>
    <item>
      <title>How to extract one field from the data listed?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-one-field-from-the-data-listed/m-p/385798#M112645</link>
      <description>&lt;P&gt;How would I go about performing a field extraction when the data is structured as follows:&lt;/P&gt;

&lt;P&gt;-&amp;gt;Message.[some random number]: "[The Subject Line of an Email]"&lt;/P&gt;

&lt;P&gt;All of the message numbers would be different and all of the Subject Lines would be different but the structure shown above is always the same. I've tried using the Splunk Regular Expression tool but it doesn't seem to pickup this structure.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 06 Aug 2018 18:00:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-one-field-from-the-data-listed/m-p/385798#M112645</guid>
      <dc:creator>chrisschum</dc:creator>
      <dc:date>2018-08-06T18:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract one field from the data listed?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-one-field-from-the-data-listed/m-p/385799#M112646</link>
      <description>&lt;P&gt;Try this:  &lt;CODE&gt;Message.\[(?&amp;lt;number&amp;gt;[^\[]+)]:\s*\"\[(?&amp;lt;subject&amp;gt;[^\[]+)]&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Aug 2018 18:08:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-one-field-from-the-data-listed/m-p/385799#M112646</guid>
      <dc:creator>amiftah</dc:creator>
      <dc:date>2018-08-06T18:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract one field from the data listed?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-one-field-from-the-data-listed/m-p/385800#M112647</link>
      <description>&lt;P&gt;Thanks for the quick response. I probably should have clarified that I just need one field extraction for all of the data listed. I also should have mentioned that the 'Subject Line' could be any alpha numeric characters separated by the quotes. Example; "Alert - Your Login Information"&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 06 Aug 2018 18:31:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-one-field-from-the-data-listed/m-p/385800#M112647</guid>
      <dc:creator>chrisschum</dc:creator>
      <dc:date>2018-08-06T18:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract one field from the data listed?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-one-field-from-the-data-listed/m-p/385801#M112648</link>
      <description>&lt;P&gt;I also may be putting in in the search incorrectly which may be why it isn't extracting with the search you provided. Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 06 Aug 2018 18:38:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-one-field-from-the-data-listed/m-p/385801#M112648</guid>
      <dc:creator>chrisschum</dc:creator>
      <dc:date>2018-08-06T18:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract one field from the data listed?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-one-field-from-the-data-listed/m-p/385802#M112649</link>
      <description>&lt;P&gt;Actually my regex extracts 2 fields, number and subject, to execute it from the search bar type this &lt;CODE&gt;index=yourIndex | rex field=_raw "Message.\[(?&amp;lt;number&amp;gt;[^\[]+)]:\s*\"\[(?&amp;lt;subject&amp;gt;[^\[]+)]"&lt;/CODE&gt; If you want to extract other values, can you provide more examples (like 3 events and highlight what you want to extract). Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 06 Aug 2018 18:50:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-one-field-from-the-data-listed/m-p/385802#M112649</guid>
      <dc:creator>amiftah</dc:creator>
      <dc:date>2018-08-06T18:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract one field from the data listed?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-one-field-from-the-data-listed/m-p/385803#M112650</link>
      <description>&lt;P&gt;Okay, I think that got it. Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 06 Aug 2018 19:09:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-one-field-from-the-data-listed/m-p/385803#M112650</guid>
      <dc:creator>chrisschum</dc:creator>
      <dc:date>2018-08-06T19:09:11Z</dc:date>
    </item>
  </channel>
</rss>

