<?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: Remove everything after .com in website in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Remove-everything-after-com-in-website/m-p/547929#M155373</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/206061"&gt;@scelikok&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I should have mentioned that there is https:// in front of the url's.&lt;/P&gt;&lt;P&gt;My results are&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;https://&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;https://&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;https://&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;https://&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 14 Apr 2021 17:49:36 GMT</pubDate>
    <dc:creator>N5535</dc:creator>
    <dc:date>2021-04-14T17:49:36Z</dc:date>
    <item>
      <title>Remove everything after .com in website</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Remove-everything-after-com-in-website/m-p/547818#M155346</link>
      <description>&lt;P&gt;Is there a simple way to remove everything after website.com&lt;/P&gt;&lt;P&gt;Currently I have several urls imported into splunk, some of which has full paths following .com&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="50%" height="25px"&gt;&lt;STRONG&gt;Currently:&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="50%" height="25px"&gt;&lt;STRONG&gt;Would like it to be:&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%" height="25px"&gt;firstwebsite.com/website&lt;/TD&gt;&lt;TD width="50%" height="25px"&gt;firstwebsite.com&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%" height="25px"&gt;secondwebsite.com&lt;/TD&gt;&lt;TD width="50%" height="25px"&gt;secondwebsite.com&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%" height="25px"&gt;thirdwebsite.com/jigiiit/jjejjrejr&lt;/TD&gt;&lt;TD width="50%" height="25px"&gt;thirdwebsite.com&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%" height="25px"&gt;fourthwebsite.com/hjeh&lt;/TD&gt;&lt;TD width="50%" height="25px"&gt;fourthwebsite.com&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any pointers would be great!&lt;/P&gt;</description>
      <pubDate>Wed, 14 Apr 2021 02:22:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Remove-everything-after-com-in-website/m-p/547818#M155346</guid>
      <dc:creator>N5535</dc:creator>
      <dc:date>2021-04-14T02:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: Remove everything after .com in website</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Remove-everything-after-com-in-website/m-p/547836#M155352</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/233315"&gt;@N5535&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Please try below;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex field=url_field "^(?&amp;lt;cleaned_url&amp;gt;[^\/]+)"
| table url_field cleaned_url&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 14 Apr 2021 04:55:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Remove-everything-after-com-in-website/m-p/547836#M155352</guid>
      <dc:creator>scelikok</dc:creator>
      <dc:date>2021-04-14T04:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: Remove everything after .com in website</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Remove-everything-after-com-in-website/m-p/547929#M155373</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/206061"&gt;@scelikok&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I should have mentioned that there is https:// in front of the url's.&lt;/P&gt;&lt;P&gt;My results are&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;https://&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;https://&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;https://&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;https://&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Apr 2021 17:49:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Remove-everything-after-com-in-website/m-p/547929#M155373</guid>
      <dc:creator>N5535</dc:creator>
      <dc:date>2021-04-14T17:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: Remove everything after .com in website</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Remove-everything-after-com-in-website/m-p/547937#M155379</link>
      <description>&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex field=url_field "http(|s):\/\/(?&amp;lt;url&amp;gt;[^\/]+)"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Apr 2021 18:58:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Remove-everything-after-com-in-website/m-p/547937#M155379</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2021-04-14T18:58:29Z</dc:date>
    </item>
  </channel>
</rss>

