<?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 drop domain from results in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-drop-domain-from-results/m-p/533600#M150791</link>
    <description>&lt;P&gt;Try&amp;nbsp; eval src=replace(src,".mydomain.com","")&lt;/P&gt;</description>
    <pubDate>Fri, 18 Dec 2020 18:15:36 GMT</pubDate>
    <dc:creator>saravanan90</dc:creator>
    <dc:date>2020-12-18T18:15:36Z</dc:date>
    <item>
      <title>How to drop domain from results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-drop-domain-from-results/m-p/533599#M150790</link>
      <description>&lt;P&gt;In splunk I have fully qualified sources and destinations. Example:&lt;BR /&gt;&lt;BR /&gt;src=host1.mydomain.com&lt;/P&gt;&lt;P&gt;When I table it out I just want it to show host1 without .mydomain.com&lt;/P&gt;&lt;P&gt;How do I do this?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 18:06:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-drop-domain-from-results/m-p/533599#M150790</guid>
      <dc:creator>fdevera</dc:creator>
      <dc:date>2020-12-18T18:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to drop domain from results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-drop-domain-from-results/m-p/533600#M150791</link>
      <description>&lt;P&gt;Try&amp;nbsp; eval src=replace(src,".mydomain.com","")&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 18:15:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-drop-domain-from-results/m-p/533600#M150791</guid>
      <dc:creator>saravanan90</dc:creator>
      <dc:date>2020-12-18T18:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to drop domain from results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-drop-domain-from-results/m-p/533604#M150792</link>
      <description>&lt;P class="lia-align-left"&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/199592"&gt;@fdevera&lt;/a&gt;&amp;nbsp; You could use a regular expression to create a new field for the subdomain, then call that new field in your table.&lt;/P&gt;&lt;LI-CODE lang="python"&gt;| rex field=src "(?&amp;lt;justthesubdomain&amp;gt;.+?(?=\.))"
| table justthesubdomain&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 19:01:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-drop-domain-from-results/m-p/533604#M150792</guid>
      <dc:creator>efavreau</dc:creator>
      <dc:date>2020-12-18T19:01:58Z</dc:date>
    </item>
  </channel>
</rss>

