<?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: Using lookup table for whitelisting CIDR ranges in SPL and getting zero results in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Using-lookup-table-for-whitelisting-CIDR-ranges-in-SPL-and/m-p/418122#M73777</link>
    <description>&lt;P&gt;You were correct.  I removed the NOT Cisco_ASA_action=teardown NOT transport=icmp and started seeing results.  Apparently, my whitelist excluded every alert and there were no other matching record.  I appreciate you taking the time to help.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 23:33:14 GMT</pubDate>
    <dc:creator>rip_leroi</dc:creator>
    <dc:date>2020-09-29T23:33:14Z</dc:date>
    <item>
      <title>Using lookup table for whitelisting CIDR ranges in SPL and getting zero results</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Using-lookup-table-for-whitelisting-CIDR-ranges-in-SPL-and/m-p/418116#M73771</link>
      <description>&lt;P&gt;I'm brand new to Splunk and I'm having difficulty getting a query to return the results I'm looking for.  I've checked the knowledge base and I see references to using transforms.conf and props.conf, but I'm in an Enterprise environment, and I don't have access to change those files.&lt;/P&gt;

&lt;P&gt;I have a .csv lookup I've created that contains a column for CIDR ranges and a column to indicate whether the CIDR range should be whitelisted from search results.  I'm trying run a query for any SMB that is incoming from the internet.  My query is listed below.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=netfw sourcetype=cisco:asa dest_port=445 NOT Cisco_ASA_action=teardown NOT transport=icmp
| lookup smbwhitelist.csv dest_ip OUTPUTNEW iswhitelist as whitelist
| search NOT whitelist IN ("yes")
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This returns all traffic including all the CIDR ranges that I'm trying to whitelist and exclude from the search results.  If I remove the NOT from the search, then I receive no results.  However, if I manually paste in the CIDR ranges I get results, so I'm missing something.&lt;/P&gt;

&lt;P&gt;Any pointers in the right direction would be greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2019 19:46:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Using-lookup-table-for-whitelisting-CIDR-ranges-in-SPL-and/m-p/418116#M73771</guid>
      <dc:creator>rip_leroi</dc:creator>
      <dc:date>2019-02-28T19:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: Using lookup table for whitelisting CIDR ranges in SPL and getting zero results</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Using-lookup-table-for-whitelisting-CIDR-ranges-in-SPL-and/m-p/418117#M73772</link>
      <description>&lt;P&gt;Hey @rip_leroi, &lt;/P&gt;

&lt;P&gt;Please try this search and let me know how it works.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=netfw sourcetype=cisco:asa dest_port=445 Cisco_ASA_action!=teardown transport!=icmp
 | lookup smbwhitelist.csv dest_ip OUTPUT iswhitelist as whitelist
 | search whitelist!="yes"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 01 Mar 2019 01:02:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Using-lookup-table-for-whitelisting-CIDR-ranges-in-SPL-and/m-p/418117#M73772</guid>
      <dc:creator>integratorz</dc:creator>
      <dc:date>2019-03-01T01:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: Using lookup table for whitelisting CIDR ranges in SPL and getting zero results</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Using-lookup-table-for-whitelisting-CIDR-ranges-in-SPL-and/m-p/418118#M73773</link>
      <description>&lt;P&gt;Since it is 0, the value is different, or the field does not exist.&lt;BR /&gt;
Check the value set for ”whitelist ”.&lt;/P&gt;

&lt;P&gt;As a result&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=netfw sourcetype=cisco:asa dest_port=445 NOT Cisco_ASA_action=teardown NOT transport=icmp
 | lookup smbwhitelist.csv dest_ip OUTPUTNEW iswhitelist as whitelist
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 01 Mar 2019 01:14:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Using-lookup-table-for-whitelisting-CIDR-ranges-in-SPL-and/m-p/418118#M73773</guid>
      <dc:creator>HiroshiSatoh</dc:creator>
      <dc:date>2019-03-01T01:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: Using lookup table for whitelisting CIDR ranges in SPL and getting zero results</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Using-lookup-table-for-whitelisting-CIDR-ranges-in-SPL-and/m-p/418119#M73774</link>
      <description>&lt;P&gt;I appreciate the comment.  This returns all results including the CIDR ranges that I'm looking to exclude.  &lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2019 22:24:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Using-lookup-table-for-whitelisting-CIDR-ranges-in-SPL-and/m-p/418119#M73774</guid>
      <dc:creator>rip_leroi</dc:creator>
      <dc:date>2019-03-01T22:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: Using lookup table for whitelisting CIDR ranges in SPL and getting zero results</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Using-lookup-table-for-whitelisting-CIDR-ranges-in-SPL-and/m-p/418120#M73775</link>
      <description>&lt;P&gt;This doesn't return any results but thank you for the suggestion.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2019 22:25:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Using-lookup-table-for-whitelisting-CIDR-ranges-in-SPL-and/m-p/418120#M73775</guid>
      <dc:creator>rip_leroi</dc:creator>
      <dc:date>2019-03-01T22:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: Using lookup table for whitelisting CIDR ranges in SPL and getting zero results</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Using-lookup-table-for-whitelisting-CIDR-ranges-in-SPL-and/m-p/418121#M73776</link>
      <description>&lt;P&gt;If the result is not returned so far, it is not a problem of the subsequent condition.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2019 06:43:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Using-lookup-table-for-whitelisting-CIDR-ranges-in-SPL-and/m-p/418121#M73776</guid>
      <dc:creator>HiroshiSatoh</dc:creator>
      <dc:date>2019-03-04T06:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: Using lookup table for whitelisting CIDR ranges in SPL and getting zero results</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Using-lookup-table-for-whitelisting-CIDR-ranges-in-SPL-and/m-p/418122#M73777</link>
      <description>&lt;P&gt;You were correct.  I removed the NOT Cisco_ASA_action=teardown NOT transport=icmp and started seeing results.  Apparently, my whitelist excluded every alert and there were no other matching record.  I appreciate you taking the time to help.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 23:33:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Using-lookup-table-for-whitelisting-CIDR-ranges-in-SPL-and/m-p/418122#M73777</guid>
      <dc:creator>rip_leroi</dc:creator>
      <dc:date>2020-09-29T23:33:14Z</dc:date>
    </item>
  </channel>
</rss>

