<?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: Extracting the end of a URL in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Extracting-the-end-of-a-URL/m-p/166773#M186165</link>
    <description>&lt;P&gt;This works perfect. Thanks for taking the time!&lt;/P&gt;</description>
    <pubDate>Fri, 16 May 2014 20:06:09 GMT</pubDate>
    <dc:creator>jravida</dc:creator>
    <dc:date>2014-05-16T20:06:09Z</dc:date>
    <item>
      <title>Extracting the end of a URL</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Extracting-the-end-of-a-URL/m-p/166771#M186163</link>
      <description>&lt;P&gt;Hi folks,&lt;/P&gt;

&lt;P&gt;I was wondering if there is a quick way to extract the end of a URL (within the URI portion) and put it in a field.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.example.com/2014/05/15/world/africa/sudan-christian-woman-apostasy/index.html"&gt;www.example.com/2014/05/15/world/africa/sudan-christian-woman-apostasy/index.html&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://www.example.com/test/sudan-christian-woman-apostasy/test.zip"&gt;www.example.com/test/sudan-christian-woman-apostasy/test.zip&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;So I would only want index.html and test.zip to show up in a new field.&lt;/P&gt;

&lt;P&gt;Hope this is easy to do, it probably is.&lt;/P&gt;</description>
      <pubDate>Thu, 15 May 2014 20:27:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Extracting-the-end-of-a-URL/m-p/166771#M186163</guid>
      <dc:creator>jravida</dc:creator>
      <dc:date>2014-05-15T20:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting the end of a URL</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Extracting-the-end-of-a-URL/m-p/166772#M186164</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rex field=fiels_name "\/(?&amp;lt;File&amp;gt;\\w+\\.\\w+)"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 15 May 2014 20:52:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Extracting-the-end-of-a-URL/m-p/166772#M186164</guid>
      <dc:creator>linu1988</dc:creator>
      <dc:date>2014-05-15T20:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting the end of a URL</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Extracting-the-end-of-a-URL/m-p/166773#M186165</link>
      <description>&lt;P&gt;This works perfect. Thanks for taking the time!&lt;/P&gt;</description>
      <pubDate>Fri, 16 May 2014 20:06:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Extracting-the-end-of-a-URL/m-p/166773#M186165</guid>
      <dc:creator>jravida</dc:creator>
      <dc:date>2014-05-16T20:06:09Z</dc:date>
    </item>
  </channel>
</rss>

