<?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: Extract from URL in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Extract-from-URL/m-p/511254#M143278</link>
    <description>&lt;P&gt;This works for you...&lt;/P&gt;&lt;P&gt;| makeresults&lt;BR /&gt;| eval value="&lt;A href="https://abc.com/a1/countries/456/av/int/orig/curr" target="_blank" rel="noopener"&gt;https://abc.com/a1/countries/456/av/int/orig/curr&lt;/A&gt;"&lt;BR /&gt;| rex field=value "coun\D+(?&amp;lt;Num_value&amp;gt;\d+)"&lt;BR /&gt;| stats values(Num_value)&lt;/P&gt;</description>
    <pubDate>Tue, 28 Jul 2020 02:54:37 GMT</pubDate>
    <dc:creator>spitchika</dc:creator>
    <dc:date>2020-07-28T02:54:37Z</dc:date>
    <item>
      <title>Extract from URL</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Extract-from-URL/m-p/511251#M143277</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have following kind of url :&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN class="t"&gt;&lt;SPAN class="t h"&gt;&lt;A href="https://abc.com/" target="_blank" rel="noopener"&gt;https://abc.com/&lt;/A&gt;&lt;/SPAN&gt;loc/country/123/iss&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="t"&gt;https://&lt;SPAN class="t h"&gt;abc.com&lt;/SPAN&gt;/a1/v1/country/456.json&lt;SPAN&gt;?&lt;/SPAN&gt;returnFields=attr&lt;SPAN&gt;,&lt;/SPAN&gt;add&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="t"&gt;https://&lt;SPAN class="t h"&gt;abc.com&lt;/SPAN&gt;/a1/countries/456/av/int/orig&lt;SPAN&gt;/&lt;/SPAN&gt;curr&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN class="t"&gt;I want to extract numbers(123,456) , in url whatever comes after country / countries , want that digit.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="t"&gt;Thanks in advance&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="t"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 02:11:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Extract-from-URL/m-p/511251#M143277</guid>
      <dc:creator>smahuja</dc:creator>
      <dc:date>2020-07-28T02:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: Extract from URL</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Extract-from-URL/m-p/511254#M143278</link>
      <description>&lt;P&gt;This works for you...&lt;/P&gt;&lt;P&gt;| makeresults&lt;BR /&gt;| eval value="&lt;A href="https://abc.com/a1/countries/456/av/int/orig/curr" target="_blank" rel="noopener"&gt;https://abc.com/a1/countries/456/av/int/orig/curr&lt;/A&gt;"&lt;BR /&gt;| rex field=value "coun\D+(?&amp;lt;Num_value&amp;gt;\d+)"&lt;BR /&gt;| stats values(Num_value)&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 02:54:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Extract-from-URL/m-p/511254#M143278</guid>
      <dc:creator>spitchika</dc:creator>
      <dc:date>2020-07-28T02:54:37Z</dc:date>
    </item>
  </channel>
</rss>

