<?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 match match IP addresses with a lookup table that only contains IP subnets? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-match-match-IP-addresses-with-a-lookup-table-that-only/m-p/212652#M62311</link>
    <description>&lt;P&gt;This will be tricky since you need at add some &lt;CODE&gt;eval&lt;/CODE&gt; and use &lt;CODE&gt;searchmatch&lt;/CODE&gt; to compare it ..... let me think about it&lt;/P&gt;

&lt;P&gt;Much easier option, get someone with access to &lt;CODE&gt;transforms.conf&lt;/CODE&gt; make the change and everyone can benefit from it!&lt;/P&gt;</description>
    <pubDate>Thu, 04 Aug 2016 22:13:53 GMT</pubDate>
    <dc:creator>MuS</dc:creator>
    <dc:date>2016-08-04T22:13:53Z</dc:date>
    <item>
      <title>How to match match IP addresses with a lookup table that only contains IP subnets?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-match-match-IP-addresses-with-a-lookup-table-that-only/m-p/212648#M62307</link>
      <description>&lt;P&gt;Dear Team,&lt;/P&gt;

&lt;P&gt;What i am trying to achieve is like this:&lt;BR /&gt;
I have a lookup table with many subnets. I am trying to match the destination host IP with the suitable subnet from the table.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| index dhcp
| lookup IPtable ip as dest_host OUTPUT ip as dest_match
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The problem is the IP column in IPtable contains IP subnet only. How do I solve it?&lt;/P&gt;

&lt;P&gt;Any help would be much appreciated!&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2016 21:30:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-match-match-IP-addresses-with-a-lookup-table-that-only/m-p/212648#M62307</guid>
      <dc:creator>phudinhha</dc:creator>
      <dc:date>2016-08-04T21:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to match match IP addresses with a lookup table that only contains IP subnets?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-match-match-IP-addresses-with-a-lookup-table-that-only/m-p/212649#M62308</link>
      <description>&lt;P&gt;Hi phudinhha,&lt;/P&gt;

&lt;P&gt;you're lookup for the &lt;CODE&gt;match_type = CIDR()&lt;/CODE&gt;  &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.2/Knowledge/Addfieldmatchingrulestoyourlookupconfiguration"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.2/Knowledge/Addfieldmatchingrulestoyourlookupconfiguration&lt;/A&gt; in &lt;CODE&gt;transforms.conf&lt;/CODE&gt;. See this example &lt;A href="https://answers.splunk.com/answers/305211/how-to-match-an-ip-address-from-a-lookup-table-of.html"&gt;https://answers.splunk.com/answers/305211/how-to-match-an-ip-address-from-a-lookup-table-of.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2016 21:59:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-match-match-IP-addresses-with-a-lookup-table-that-only/m-p/212649#M62308</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2016-08-04T21:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to match match IP addresses with a lookup table that only contains IP subnets?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-match-match-IP-addresses-with-a-lookup-table-that-only/m-p/212650#M62309</link>
      <description>&lt;P&gt;See if this helps you&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/305211/how-to-match-an-ip-address-from-a-lookup-table-of.html"&gt;https://answers.splunk.com/answers/305211/how-to-match-an-ip-address-from-a-lookup-table-of.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2016 22:00:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-match-match-IP-addresses-with-a-lookup-table-that-only/m-p/212650#M62309</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-08-04T22:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to match match IP addresses with a lookup table that only contains IP subnets?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-match-match-IP-addresses-with-a-lookup-table-that-only/m-p/212651#M62310</link>
      <description>&lt;P&gt;Hi Mus and sundareshr&lt;/P&gt;

&lt;P&gt;The problem is i don't have access to transforms.conf file, and i would like to compare the dest_host field with the IP column which contains subnet from the lookup table.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2016 22:04:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-match-match-IP-addresses-with-a-lookup-table-that-only/m-p/212651#M62310</guid>
      <dc:creator>phudinhha</dc:creator>
      <dc:date>2016-08-04T22:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to match match IP addresses with a lookup table that only contains IP subnets?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-match-match-IP-addresses-with-a-lookup-table-that-only/m-p/212652#M62311</link>
      <description>&lt;P&gt;This will be tricky since you need at add some &lt;CODE&gt;eval&lt;/CODE&gt; and use &lt;CODE&gt;searchmatch&lt;/CODE&gt; to compare it ..... let me think about it&lt;/P&gt;

&lt;P&gt;Much easier option, get someone with access to &lt;CODE&gt;transforms.conf&lt;/CODE&gt; make the change and everyone can benefit from it!&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2016 22:13:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-match-match-IP-addresses-with-a-lookup-table-that-only/m-p/212652#M62311</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2016-08-04T22:13:53Z</dc:date>
    </item>
  </channel>
</rss>

