<?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: How to use a list of allowable IP addresses in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-a-list-of-allowable-IP-addresses/m-p/614741#M213655</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/249840"&gt;@kevinb0011&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;you can use a lookup (called e.g. your_lookup.csv) to store the allowed IPs and then run a search:&lt;/P&gt;&lt;P&gt;at first you have to define the fields containing IP to monitor and then run something like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=* 
| eval ip=coalesce(src,src_ip.dest, dst,dest_ip,dst_ip)
| search NOY [ | inputlookup your_lookup.csv | fields ip ]&lt;/LI-CODE&gt;&lt;P&gt;in this way list all the IP in the choosen fields not listed in the lookup.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 27 Sep 2022 12:08:18 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2022-09-27T12:08:18Z</dc:date>
    <item>
      <title>How to use a list of allowable IP addresses?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-a-list-of-allowable-IP-addresses/m-p/614736#M213653</link>
      <description>&lt;P&gt;Good morning,&lt;/P&gt;
&lt;P&gt;Curious to see if anyone has used a similar dataset in Splunk and/or any suggestions on the best way to create a usable solution.&lt;/P&gt;
&lt;P&gt;I&amp;nbsp;have a list of IP addresses, and for each IP address there is a list of allowable systems (IPs) . If any of the IP addresses communicate with systems outside of the allowable list I want to be alerted. I know I can probably create individual alerts for each of these but would like to be able to process these in bulk. For example, if Splunk could periodically cross reference the IP list against the network data to see if there are any violations. Could a lookup table be used for this?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2022 13:44:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-a-list-of-allowable-IP-addresses/m-p/614736#M213653</guid>
      <dc:creator>kevinb0011</dc:creator>
      <dc:date>2022-09-27T13:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a list of allowable IP addresses</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-a-list-of-allowable-IP-addresses/m-p/614741#M213655</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/249840"&gt;@kevinb0011&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;you can use a lookup (called e.g. your_lookup.csv) to store the allowed IPs and then run a search:&lt;/P&gt;&lt;P&gt;at first you have to define the fields containing IP to monitor and then run something like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=* 
| eval ip=coalesce(src,src_ip.dest, dst,dest_ip,dst_ip)
| search NOY [ | inputlookup your_lookup.csv | fields ip ]&lt;/LI-CODE&gt;&lt;P&gt;in this way list all the IP in the choosen fields not listed in the lookup.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2022 12:08:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-a-list-of-allowable-IP-addresses/m-p/614741#M213655</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-09-27T12:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a list of allowable IP addresses</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-a-list-of-allowable-IP-addresses/m-p/614748#M213659</link>
      <description>&lt;P&gt;Great thank you for the quick response. I'm going to try this out asap.&lt;/P&gt;&lt;P&gt;Curious as to how much this complicates things, but what if the allow list is unique per IP.&amp;nbsp; So each IP could have similar or different allowed communicants. Could this be captured in one lookup table?&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;Main IP List&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Allowed IPs&lt;/P&gt;&lt;P&gt;10.0.0.1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(10.1.0.0, 10.2.00, 10.3.00)&lt;/P&gt;&lt;P&gt;10.0.0.2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(10.0.1.0, 10.0.2.0)&lt;/P&gt;&lt;P&gt;10.0.0.3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(192.168.1.1, 10.1.0.0)&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2022 12:43:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-a-list-of-allowable-IP-addresses/m-p/614748#M213659</guid>
      <dc:creator>kevinb0011</dc:creator>
      <dc:date>2022-09-27T12:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a list of allowable IP addresses</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-a-list-of-allowable-IP-addresses/m-p/614750#M213660</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/249840"&gt;@kevinb0011&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;in the allow list you can use asterisk (10.1.0.*) or subnets (10.1.0.0/24).&lt;/P&gt;&lt;P&gt;The main problem, is to identify all the fields that could contain ip addresses and put them in the coalesce command.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2022 12:46:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-a-list-of-allowable-IP-addresses/m-p/614750#M213660</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-09-27T12:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a list of allowable IP addresses</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-a-list-of-allowable-IP-addresses/m-p/614755#M213663</link>
      <description>&lt;P&gt;ok great thanks&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2022 13:14:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-a-list-of-allowable-IP-addresses/m-p/614755#M213663</guid>
      <dc:creator>kevinb0011</dc:creator>
      <dc:date>2022-09-27T13:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a list of allowable IP addresses</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-a-list-of-allowable-IP-addresses/m-p/614757#M213665</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/249840"&gt;@kevinb0011&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;good for you, see next time!&lt;/P&gt;&lt;P&gt;Ciao and happy splunking&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2022 13:21:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-a-list-of-allowable-IP-addresses/m-p/614757#M213665</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-09-27T13:21:32Z</dc:date>
    </item>
  </channel>
</rss>

