<?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 Email strip in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/Email-strip/m-p/37480#M727</link>
    <description>&lt;P&gt;In my log file there is a uid/ email field. The splunk search should not display/ignore result if the email domain is for example google, yahoo. Splunk should display result associated with mydomain.&lt;/P&gt;

&lt;P&gt;If thelog have ..... uid = &lt;A href="mailto:myname@mydomain.com.......uid"&gt;myname@mydomain.com.......uid&lt;/A&gt; = &lt;A href="mailto:myname@gmail.com"&gt;myname@gmail.com&lt;/A&gt;...... uid= &lt;A href="mailto:mail@yahoo.com"&gt;mail@yahoo.com&lt;/A&gt;..... uid = &lt;A href="mailto:mail@aol.com......uid"&gt;mail@aol.com......uid&lt;/A&gt;=null&lt;/P&gt;

&lt;P&gt;The splunk search should spit out uid = &lt;A href="mailto:myname@mydomain.com"&gt;myname@mydomain.com&lt;/A&gt;. How to do this? Help! help!&lt;/P&gt;</description>
    <pubDate>Wed, 20 Feb 2013 07:48:53 GMT</pubDate>
    <dc:creator>debabratp</dc:creator>
    <dc:date>2013-02-20T07:48:53Z</dc:date>
    <item>
      <title>Email strip</title>
      <link>https://community.splunk.com/t5/Reporting/Email-strip/m-p/37480#M727</link>
      <description>&lt;P&gt;In my log file there is a uid/ email field. The splunk search should not display/ignore result if the email domain is for example google, yahoo. Splunk should display result associated with mydomain.&lt;/P&gt;

&lt;P&gt;If thelog have ..... uid = &lt;A href="mailto:myname@mydomain.com.......uid"&gt;myname@mydomain.com.......uid&lt;/A&gt; = &lt;A href="mailto:myname@gmail.com"&gt;myname@gmail.com&lt;/A&gt;...... uid= &lt;A href="mailto:mail@yahoo.com"&gt;mail@yahoo.com&lt;/A&gt;..... uid = &lt;A href="mailto:mail@aol.com......uid"&gt;mail@aol.com......uid&lt;/A&gt;=null&lt;/P&gt;

&lt;P&gt;The splunk search should spit out uid = &lt;A href="mailto:myname@mydomain.com"&gt;myname@mydomain.com&lt;/A&gt;. How to do this? Help! help!&lt;/P&gt;</description>
      <pubDate>Wed, 20 Feb 2013 07:48:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Email-strip/m-p/37480#M727</guid>
      <dc:creator>debabratp</dc:creator>
      <dc:date>2013-02-20T07:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: Email strip</title>
      <link>https://community.splunk.com/t5/Reporting/Email-strip/m-p/37481#M728</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;

&lt;P&gt;First, if you havent done it yet, you need to extract the email field. Using the regex command, for example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;..| regex "(?&amp;lt;email&amp;gt;[a-zA-Z0-9]+@[a-zA-Z0-9]+\.[a-zA-Z0-9]+)" | ...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Then you need to filter the results with&lt;/P&gt;

&lt;P&gt;..| search email="*@mydomain.com" | ...&lt;/P&gt;

&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 20 Feb 2013 11:21:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Email-strip/m-p/37481#M728</guid>
      <dc:creator>gfuente</dc:creator>
      <dc:date>2013-02-20T11:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: Email strip</title>
      <link>https://community.splunk.com/t5/Reporting/Email-strip/m-p/37482#M729</link>
      <description>&lt;P&gt;Thanks for your regx to extract only the email. Your answer is perfect. But I asked the question differently. My bad. It helped.&lt;/P&gt;

&lt;P&gt;But how do i use it in Dashboard? Do i need to have escape character for (?&lt;EMAIL&gt;...&lt;/EMAIL&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Feb 2013 19:52:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Email-strip/m-p/37482#M729</guid>
      <dc:creator>debabratp</dc:creator>
      <dc:date>2013-02-20T19:52:36Z</dc:date>
    </item>
  </channel>
</rss>

