<?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 Excluding a list of IP's from the results in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Excluding-a-list-of-IP-s-from-the-results/m-p/451643#M127903</link>
    <description>&lt;P&gt;I have a list of IP's in a CSV that I need to exclude from the results of a query. Below is a my query. How can I apply the lookup feature or something else to accomplish this? I would like to include all the destination IP's that I want to exclude in the CSV and display the top ten destination IP's thanks.&lt;/P&gt;

&lt;P&gt;sourcetype="cisco:sourcefire:appliance:syslog"  AccessControlRuleAction=Allow AND NOT DstIP=172.* | top limit=10 DstIP&lt;/P&gt;</description>
    <pubDate>Sun, 03 Feb 2019 00:06:13 GMT</pubDate>
    <dc:creator>samble</dc:creator>
    <dc:date>2019-02-03T00:06:13Z</dc:date>
    <item>
      <title>Excluding a list of IP's from the results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Excluding-a-list-of-IP-s-from-the-results/m-p/451643#M127903</link>
      <description>&lt;P&gt;I have a list of IP's in a CSV that I need to exclude from the results of a query. Below is a my query. How can I apply the lookup feature or something else to accomplish this? I would like to include all the destination IP's that I want to exclude in the CSV and display the top ten destination IP's thanks.&lt;/P&gt;

&lt;P&gt;sourcetype="cisco:sourcefire:appliance:syslog"  AccessControlRuleAction=Allow AND NOT DstIP=172.* | top limit=10 DstIP&lt;/P&gt;</description>
      <pubDate>Sun, 03 Feb 2019 00:06:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Excluding-a-list-of-IP-s-from-the-results/m-p/451643#M127903</guid>
      <dc:creator>samble</dc:creator>
      <dc:date>2019-02-03T00:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding a list of IP's from the results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Excluding-a-list-of-IP-s-from-the-results/m-p/451644#M127904</link>
      <description>&lt;P&gt;Assuming your list of excluded IPs is in a lookup file called 'exclude.csv', the query would look something like this:&lt;/P&gt;

&lt;P&gt;sourcetype="cisco:sourcefire:appliance:syslog" AccessControlRuleAction=Allow NOT [|inputlookup exclude,csv | fields ip | format] | top limit=10 DstIP&lt;/P&gt;</description>
      <pubDate>Sun, 03 Feb 2019 01:12:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Excluding-a-list-of-IP-s-from-the-results/m-p/451644#M127904</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-02-03T01:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding a list of IP's from the results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Excluding-a-list-of-IP-s-from-the-results/m-p/451645#M127905</link>
      <description>&lt;P&gt;Thanks for your guidance. I had to make a slight change and it worked. It wanted the fields also as DstIP&lt;/P&gt;

&lt;P&gt;sourcetype="cisco:sourcefire:appliance:syslog" AccessControlRuleAction=Allow NOT [|inputlookup Exclude.csv | fields DstIP | format] | top limit=10 DstIP&lt;/P&gt;</description>
      <pubDate>Sun, 03 Feb 2019 22:52:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Excluding-a-list-of-IP-s-from-the-results/m-p/451645#M127905</guid>
      <dc:creator>samble</dc:creator>
      <dc:date>2019-02-03T22:52:24Z</dc:date>
    </item>
  </channel>
</rss>

