<?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: match range of ip in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/match-range-of-ip/m-p/65591#M16292</link>
    <description>&lt;P&gt;Thanks, I didn't know this function, work great !&lt;/P&gt;</description>
    <pubDate>Mon, 06 Feb 2012 14:24:26 GMT</pubDate>
    <dc:creator>AdrienW</dc:creator>
    <dc:date>2012-02-06T14:24:26Z</dc:date>
    <item>
      <title>match range of ip</title>
      <link>https://community.splunk.com/t5/Splunk-Search/match-range-of-ip/m-p/65589#M16290</link>
      <description>&lt;P&gt;Hi all, &lt;/P&gt;

&lt;P&gt;I have some logs with a field called "src" containing ip.&lt;BR /&gt;
I would like to use the command "match" like : &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;if(match(src,"^172.16") but with a range of IP (172.16 to 172.31)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;How I could do that?&lt;/P&gt;

&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2012 13:40:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/match-range-of-ip/m-p/65589#M16290</guid>
      <dc:creator>AdrienW</dc:creator>
      <dc:date>2012-02-06T13:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: match range of ip</title>
      <link>https://community.splunk.com/t5/Splunk-Search/match-range-of-ip/m-p/65590#M16291</link>
      <description>&lt;P&gt;&lt;CODE&gt;cidrmatch("172.16.0.0/12",src)&lt;/CODE&gt; ?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2012 14:04:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/match-range-of-ip/m-p/65590#M16291</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2012-02-06T14:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: match range of ip</title>
      <link>https://community.splunk.com/t5/Splunk-Search/match-range-of-ip/m-p/65591#M16292</link>
      <description>&lt;P&gt;Thanks, I didn't know this function, work great !&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2012 14:24:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/match-range-of-ip/m-p/65591#M16292</guid>
      <dc:creator>AdrienW</dc:creator>
      <dc:date>2012-02-06T14:24:26Z</dc:date>
    </item>
  </channel>
</rss>

