<?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: Exclude CIDR range from search results in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Exclude-CIDR-range-from-search-results/m-p/140565#M28818</link>
    <description>&lt;P&gt;Check this app I created. &lt;/P&gt;

&lt;P&gt;on Bitbucket: &lt;A href="https://bitbucket.org/intalock/incidr/src/master/"&gt;https://bitbucket.org/intalock/incidr/src/master/&lt;/A&gt;&lt;BR /&gt;
on Github : &lt;A href="https://github.com/morethanyell/incidr"&gt;https://github.com/morethanyell/incidr&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;This is an app I created that accepts multiple cidr blocks&lt;/P&gt;</description>
    <pubDate>Wed, 30 Oct 2019 04:03:45 GMT</pubDate>
    <dc:creator>morethanyell</dc:creator>
    <dc:date>2019-10-30T04:03:45Z</dc:date>
    <item>
      <title>Exclude CIDR range from search results</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Exclude-CIDR-range-from-search-results/m-p/140561#M28814</link>
      <description>&lt;P&gt;Hi Splunk Answers,&lt;/P&gt;

&lt;P&gt;I want to exclude IP addresses from certain networks in search results. The range is 10.52.0.0/24 - 10.52.40.0/24.&lt;/P&gt;

&lt;P&gt;If I want to exclude using one range I would use&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| where NOT cidrmatch("10.52.0.0/24")
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;How would I exclude multiple ranges?&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2015 23:06:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Exclude-CIDR-range-from-search-results/m-p/140561#M28814</guid>
      <dc:creator>shiftey</dc:creator>
      <dc:date>2015-06-02T23:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude CIDR range from search results</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Exclude-CIDR-range-from-search-results/m-p/140562#M28815</link>
      <description>&lt;P&gt;Here you go:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  ... |where (NOT cidrmatch("10.52.0.0/24",ipfield) AND NOT cidrmatch("10.52.40.0/24",ipfield))|table ipfield
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jun 2015 12:56:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Exclude-CIDR-range-from-search-results/m-p/140562#M28815</guid>
      <dc:creator>stephanefotso</dc:creator>
      <dc:date>2015-06-03T12:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude CIDR range from search results</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Exclude-CIDR-range-from-search-results/m-p/140563#M28816</link>
      <description>&lt;P&gt;What if I wanted to use a lookup table for this? I have a lookup table of just a list of CIDR blocks and I want to exclude them when searching.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Nov 2018 18:10:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Exclude-CIDR-range-from-search-results/m-p/140563#M28816</guid>
      <dc:creator>ptate</dc:creator>
      <dc:date>2018-11-02T18:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude CIDR range from search results</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Exclude-CIDR-range-from-search-results/m-p/140564#M28817</link>
      <description>&lt;P&gt;1) Create a lookup table of cidr blocks&lt;BR /&gt;
2) Create a lookup definition with the CIDR advanced option for matching&lt;BR /&gt;
3) Use the lookup command and NOT out_field=*&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=... | lookup my_def in_field OUTPUT out_field | search NOT out_field=*
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 18 Apr 2019 18:10:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Exclude-CIDR-range-from-search-results/m-p/140564#M28817</guid>
      <dc:creator>landen99</dc:creator>
      <dc:date>2019-04-18T18:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude CIDR range from search results</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Exclude-CIDR-range-from-search-results/m-p/140565#M28818</link>
      <description>&lt;P&gt;Check this app I created. &lt;/P&gt;

&lt;P&gt;on Bitbucket: &lt;A href="https://bitbucket.org/intalock/incidr/src/master/"&gt;https://bitbucket.org/intalock/incidr/src/master/&lt;/A&gt;&lt;BR /&gt;
on Github : &lt;A href="https://github.com/morethanyell/incidr"&gt;https://github.com/morethanyell/incidr&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;This is an app I created that accepts multiple cidr blocks&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2019 04:03:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Exclude-CIDR-range-from-search-results/m-p/140565#M28818</guid>
      <dc:creator>morethanyell</dc:creator>
      <dc:date>2019-10-30T04:03:45Z</dc:date>
    </item>
  </channel>
</rss>

