<?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: Drop a host from search if the destination (multi value field) matches external IP in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Drop-a-host-from-search-if-the-destination-multi-value-field/m-p/449464#M127261</link>
    <description>&lt;P&gt;Did this work ??&lt;/P&gt;</description>
    <pubDate>Wed, 26 Jun 2019 20:06:23 GMT</pubDate>
    <dc:creator>sandeepmakkena</dc:creator>
    <dc:date>2019-06-26T20:06:23Z</dc:date>
    <item>
      <title>Drop a host from search if the destination (multi value field) matches external IP</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drop-a-host-from-search-if-the-destination-multi-value-field/m-p/449462#M127259</link>
      <description>&lt;P&gt;I need help on splunk search for the below condition,&lt;/P&gt;

&lt;P&gt;The scenario here is like i need to generate a report on hosts which are not connecting external IP's . (purely internal connecting host)&lt;/P&gt;

&lt;P&gt;I have few hosts which is connecing to both external and internal IP.&lt;/P&gt;

&lt;P&gt;if i use &lt;CODE&gt;|search  destination=10.0.0.0/8 OR destination=172.16.0.0/12 OR destination=192.168.0.0/16&lt;/CODE&gt; - this only shows the events of internal connection but not droping host from search for external connection events.&lt;/P&gt;

&lt;P&gt;how do i filter hosts which has destination internal only if external ip present i need to drop that host from search.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 12:58:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drop-a-host-from-search-if-the-destination-multi-value-field/m-p/449462#M127259</guid>
      <dc:creator>CryoHydra</dc:creator>
      <dc:date>2019-06-26T12:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: Drop a host from search if the destination (multi value field) matches external IP</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drop-a-host-from-search-if-the-destination-multi-value-field/m-p/449463#M127260</link>
      <description>&lt;P&gt;You can use a lookup file with all your ip addresses.&lt;/P&gt;

&lt;P&gt;| lookup Internal_IP_addresses.csv Internal_IP_aadress as IP_address OUTPUT Internal_IP_address&lt;BR /&gt;
| table Internal_IP_address&lt;/P&gt;

&lt;P&gt;IP_address----&amp;gt; Extract from your logs/data&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Internal_IP_address.csv&lt;/STRONG&gt; upload in the lookup. This will have all your internal IP's&lt;/P&gt;

&lt;P&gt;Internal_IP_aadress&lt;BR /&gt;
10.X.X.11&lt;BR /&gt;
12.xxxxxx&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 01:06:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drop-a-host-from-search-if-the-destination-multi-value-field/m-p/449463#M127260</guid>
      <dc:creator>sandeepmakkena</dc:creator>
      <dc:date>2020-09-30T01:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: Drop a host from search if the destination (multi value field) matches external IP</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drop-a-host-from-search-if-the-destination-multi-value-field/m-p/449464#M127261</link>
      <description>&lt;P&gt;Did this work ??&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 20:06:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drop-a-host-from-search-if-the-destination-multi-value-field/m-p/449464#M127261</guid>
      <dc:creator>sandeepmakkena</dc:creator>
      <dc:date>2019-06-26T20:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: Drop a host from search if the destination (multi value field) matches external IP</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drop-a-host-from-search-if-the-destination-multi-value-field/m-p/449465#M127262</link>
      <description>&lt;P&gt;i want to negate host from search which connected to external IP , you query helps in host connected to internal IP ?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 04:03:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drop-a-host-from-search-if-the-destination-multi-value-field/m-p/449465#M127262</guid>
      <dc:creator>CryoHydra</dc:creator>
      <dc:date>2019-06-27T04:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: Drop a host from search if the destination (multi value field) matches external IP</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Drop-a-host-from-search-if-the-destination-multi-value-field/m-p/449466#M127263</link>
      <description>&lt;P&gt;Like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;Your main search here&amp;gt; AND NOT [ &amp;lt;Your main search here, too&amp;gt; AND (destination=10.0.0.0/8 OR destination=172.16.0.0/12 OR destination=192.168.0.0/16) | stats count BY src | table src ]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 05 Jul 2019 18:33:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Drop-a-host-from-search-if-the-destination-multi-value-field/m-p/449466#M127263</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-07-05T18:33:25Z</dc:date>
    </item>
  </channel>
</rss>

