<?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: Adding email domain to values in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Adding-email-domain-to-values/m-p/569751#M198577</link>
    <description>&lt;P&gt;You can do something like this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Your base search with field say "username"
| eval username=if(match(username,"splunk.com$"),username,username."@splunk.com")&lt;/LI-CODE&gt;</description>
    <pubDate>Tue, 05 Oct 2021 18:00:20 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2021-10-05T18:00:20Z</dc:date>
    <item>
      <title>Adding email domain to values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Adding-email-domain-to-values/m-p/569741#M198572</link>
      <description>&lt;P&gt;I have a field, let's say the user field, that has both usernames without a domain and some with.&lt;/P&gt;&lt;P&gt;I want the fields values that don't have an extension to have it added&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;sparky1&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:sparky2@splunk.com" target="_blank" rel="noopener"&gt;sparky2@splunk.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to be able to append splunk.com to the sparky1 value, without adding it again to sparky2@splunk.com&lt;/P&gt;</description>
      <pubDate>Tue, 05 Oct 2021 17:21:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Adding-email-domain-to-values/m-p/569741#M198572</guid>
      <dc:creator>Sparky1</dc:creator>
      <dc:date>2021-10-05T17:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: Adding email domain to values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Adding-email-domain-to-values/m-p/569751#M198577</link>
      <description>&lt;P&gt;You can do something like this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Your base search with field say "username"
| eval username=if(match(username,"splunk.com$"),username,username."@splunk.com")&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 05 Oct 2021 18:00:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Adding-email-domain-to-values/m-p/569751#M198577</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2021-10-05T18:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: Adding email domain to values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Adding-email-domain-to-values/m-p/569758#M198580</link>
      <description>&lt;P&gt;That worked! Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 05 Oct 2021 18:27:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Adding-email-domain-to-values/m-p/569758#M198580</guid>
      <dc:creator>Sparky1</dc:creator>
      <dc:date>2021-10-05T18:27:36Z</dc:date>
    </item>
  </channel>
</rss>

