<?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: Problems with cidrmatch and lookup from csv (even after transforms.conf edited) in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Problems-with-cidrmatch-and-lookup-from-csv-even-after/m-p/298708#M93280</link>
    <description>&lt;P&gt;Ok everyone, it seems that this is some sort of versioning issue--I downloaded free Splunk and installed it locally, added both lookup tables (and definitions) and this worked without problem.&lt;/P&gt;

&lt;P&gt;So, in production Im running Splunk Enterprise v6.5. Match_type = CIDR doesn't work somewhere between version 6.5 and 7.x. &lt;/P&gt;

&lt;P&gt;Note: on version 6.5 the cidrmatch function works inside an eval function, but not as a match type itself. Its weird.&lt;/P&gt;</description>
    <pubDate>Tue, 20 Feb 2018 03:30:54 GMT</pubDate>
    <dc:creator>theothertomjone</dc:creator>
    <dc:date>2018-02-20T03:30:54Z</dc:date>
    <item>
      <title>Problems with cidrmatch and lookup from csv (even after transforms.conf edited)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Problems-with-cidrmatch-and-lookup-from-csv-even-after/m-p/298707#M93279</link>
      <description>&lt;P&gt;I've read other questions on this topic and I am afraid I'm just stuck.&lt;/P&gt;

&lt;P&gt;I have a csv named "subnets_cidrmatch" with fields &lt;EM&gt;subnet, country&lt;/EM&gt; (~250 entries in this spreadsheet).&lt;/P&gt;

&lt;P&gt;I have another csv named "spreadsheet" with a field &lt;EM&gt;clientip&lt;/EM&gt; (~48k entries in this spreadsheet).&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;1. I have edited transforms.conf with the configuration below&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;[subnets_cidrmatch]&lt;BR /&gt;
filename = subnets_cidrmatch.csv&lt;BR /&gt;
default_match = NONE&lt;BR /&gt;
match_type = CIDR(subnet)&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;2. The following query doesnt work (for some reason)&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;| inputlookup spreadsheet.csv &lt;BR /&gt;
| lookup subnets_cidrmatch subnet AS clientip OUTPUT country as clientip_location&lt;BR /&gt;
| table clientip subnet clientip_location &lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;3. None of the fields match on the &lt;EM&gt;country&lt;/EM&gt; (or the OUTPUT field *clientip_location)&lt;/STRONG&gt;*&lt;/P&gt;

&lt;P&gt;Any idea what could be going on here?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:08:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Problems-with-cidrmatch-and-lookup-from-csv-even-after/m-p/298707#M93279</guid>
      <dc:creator>theothertomjone</dc:creator>
      <dc:date>2020-09-29T18:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with cidrmatch and lookup from csv (even after transforms.conf edited)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Problems-with-cidrmatch-and-lookup-from-csv-even-after/m-p/298708#M93280</link>
      <description>&lt;P&gt;Ok everyone, it seems that this is some sort of versioning issue--I downloaded free Splunk and installed it locally, added both lookup tables (and definitions) and this worked without problem.&lt;/P&gt;

&lt;P&gt;So, in production Im running Splunk Enterprise v6.5. Match_type = CIDR doesn't work somewhere between version 6.5 and 7.x. &lt;/P&gt;

&lt;P&gt;Note: on version 6.5 the cidrmatch function works inside an eval function, but not as a match type itself. Its weird.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2018 03:30:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Problems-with-cidrmatch-and-lookup-from-csv-even-after/m-p/298708#M93280</guid>
      <dc:creator>theothertomjone</dc:creator>
      <dc:date>2018-02-20T03:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with cidrmatch and lookup from csv (even after transforms.conf edited)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Problems-with-cidrmatch-and-lookup-from-csv-even-after/m-p/298709#M93281</link>
      <description>&lt;P&gt;Make sure the column subnet in your lookup is in CIDR format like 10.0.0.0/8 format.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2018 18:15:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Problems-with-cidrmatch-and-lookup-from-csv-even-after/m-p/298709#M93281</guid>
      <dc:creator>starcher</dc:creator>
      <dc:date>2018-02-20T18:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with cidrmatch and lookup from csv (even after transforms.conf edited)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Problems-with-cidrmatch-and-lookup-from-csv-even-after/m-p/298710#M93282</link>
      <description>&lt;P&gt;It is in the correct CIDR format--the issue is the support for the match_type=CIDR between SE v6.5 and SE v7.x. Somewhere between these two versions the match_type=CIDR is fully supported.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:06:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Problems-with-cidrmatch-and-lookup-from-csv-even-after/m-p/298710#M93282</guid>
      <dc:creator>theothertomjone</dc:creator>
      <dc:date>2020-09-29T18:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with cidrmatch and lookup from csv (even after transforms.conf edited)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Problems-with-cidrmatch-and-lookup-from-csv-even-after/m-p/298711#M93283</link>
      <description>&lt;P&gt;Did you ever get this resolved? I seem to be having the same issue.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Feb 2019 20:14:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Problems-with-cidrmatch-and-lookup-from-csv-even-after/m-p/298711#M93283</guid>
      <dc:creator>dbray_sd</dc:creator>
      <dc:date>2019-02-18T20:14:42Z</dc:date>
    </item>
  </channel>
</rss>

