<?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 from and To fields For this below Line using Regex? in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-extract-from-and-To-fields-For-this-below-Line-using/m-p/580754#M11130</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;You could try this (I suppose that you have above data already in splunk _raw field).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;... &amp;lt;your search&amp;gt; ..
| rex "From: &amp;lt;(?&amp;lt;from_mail_id&amp;gt;[^&amp;gt;]+)&amp;gt; To: &amp;lt;(?&amp;lt;to_mail_id&amp;gt;[^&amp;gt;]+)&amp;gt;"&lt;/LI-CODE&gt;&lt;P&gt;r. Ismo&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Jan 2022 10:12:39 GMT</pubDate>
    <dc:creator>isoutamo</dc:creator>
    <dc:date>2022-01-12T10:12:39Z</dc:date>
    <item>
      <title>How to extract from and To fields For this below Line using Regex?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-extract-from-and-To-fields-For-this-below-Line-using/m-p/580753#M11129</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Info: Bounced: DCID 8413617 MID 19338947 From: &amp;lt;MariaDubois@example.com&amp;gt; To: &amp;lt;abcdef@buttercupgames.com&amp;gt; RID 0 - 5.4.7 - Delivery expired (message too old) ('000', ['timeout'])&lt;/P&gt;&lt;P&gt;O/p:&lt;/P&gt;&lt;P&gt;from_mail_id = MariaDubois@example.com&lt;BR /&gt;to_mail_id = abcdef@buttercupgames.com&lt;/P&gt;&lt;P&gt;Please help me with the Solution ,Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 10:06:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-extract-from-and-To-fields-For-this-below-Line-using/m-p/580753#M11129</guid>
      <dc:creator>Kumar2</dc:creator>
      <dc:date>2022-01-12T10:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract from and To fields For this below Line using Regex?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-extract-from-and-To-fields-For-this-below-Line-using/m-p/580754#M11130</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;You could try this (I suppose that you have above data already in splunk _raw field).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;... &amp;lt;your search&amp;gt; ..
| rex "From: &amp;lt;(?&amp;lt;from_mail_id&amp;gt;[^&amp;gt;]+)&amp;gt; To: &amp;lt;(?&amp;lt;to_mail_id&amp;gt;[^&amp;gt;]+)&amp;gt;"&lt;/LI-CODE&gt;&lt;P&gt;r. Ismo&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 10:12:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-extract-from-and-To-fields-For-this-below-Line-using/m-p/580754#M11130</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2022-01-12T10:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract from and To fields For this below Line using Regex?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-extract-from-and-To-fields-For-this-below-Line-using/m-p/580762#M11131</link>
      <description>&lt;P&gt;Thank you Sir ,But need the Solution using only Regex .&lt;/P&gt;&lt;P&gt;Please help, Thanks in advance&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 10:44:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-extract-from-and-To-fields-For-this-below-Line-using/m-p/580762#M11131</guid>
      <dc:creator>Kumar2</dc:creator>
      <dc:date>2022-01-12T10:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract from and To fields For this below Line using Regex?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-extract-from-and-To-fields-For-this-below-Line-using/m-p/580771#M11133</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;if you want to pick those values from events then you need a rex and if you want to select events which contains that kind of parts, but don't want to select those to the new fields then you should use regex.&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 13:06:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-extract-from-and-To-fields-For-this-below-Line-using/m-p/580771#M11133</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2022-01-12T13:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract from and To fields For this below Line using Regex?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-extract-from-and-To-fields-For-this-below-Line-using/m-p/580905#M11149</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/214410"&gt;@isoutamo&lt;/a&gt;&amp;nbsp;sir&lt;/P&gt;&lt;P&gt;How to&amp;nbsp; extract this event into four different counts using rex&amp;nbsp;&lt;/P&gt;&lt;P&gt;1234-5678-9101-1213&amp;nbsp;&lt;/P&gt;&lt;P&gt;example :&amp;nbsp; &amp;nbsp;Count1-1234&amp;nbsp; count2-5678 and so on.....&lt;/P&gt;&lt;P&gt;please help me with solution, thanks in advance&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2022 08:43:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-extract-from-and-To-fields-For-this-below-Line-using/m-p/580905#M11149</guid>
      <dc:creator>Kumar2</dc:creator>
      <dc:date>2022-01-13T08:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract from and To fields For this below Line using Regex?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-extract-from-and-To-fields-For-this-below-Line-using/m-p/580913#M11152</link>
      <description>&lt;P&gt;You could use e.g this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;...
| rex "(?&amp;lt;count-1&amp;gt;\d+)-(?&amp;lt;count-2&amp;gt;\d+)-(?&amp;lt;count-3&amp;gt;\d+)-(?&amp;lt;count-4&amp;gt;\d+)"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;You can learn to use rex with regex101.com&amp;nbsp;&lt;A href="https://regex101.com/r/ZPQDgg/1" target="_blank"&gt;https://regex101.com/r/ZPQDgg/1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2022 09:02:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-extract-from-and-To-fields-For-this-below-Line-using/m-p/580913#M11152</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2022-01-13T09:02:27Z</dc:date>
    </item>
  </channel>
</rss>

