<?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: Splunk lookup (not inputlookup) and cidr matching in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Splunk-lookup-not-inputlookup-and-cidr-matching/m-p/673878#M230701</link>
    <description>&lt;P&gt;Do you have the same issue when referencing the lookup definition itself instead of the CSV file?&lt;BR /&gt;Example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;base_search&amp;gt;
    | lookup &amp;lt;lookup definition pointing to networks.csv&amp;gt; ip as src_ip OUTPUT category&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;I think that the advanced settings may only be applied when referencing the definition.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Jan 2024 22:01:22 GMT</pubDate>
    <dc:creator>dtburrows3</dc:creator>
    <dc:date>2024-01-10T22:01:22Z</dc:date>
    <item>
      <title>Splunk lookup (not inputlookup) and cidr matching</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-lookup-not-inputlookup-and-cidr-matching/m-p/673877#M230700</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I have a search that's coming back with 'src' which is the source IP of a client, and I have a lookup file&amp;nbsp; called "networks.csv" that has a column with a header 'ip' which is a list of CIDR networks. I have gone into the lookup definitions and set under the advanced options "CIDR(ip)" for that lookup file. I can see the headers being automatically being extracted in that UI. However, when I run the search and try to pull the category for the 'src' respective network, it does not work.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;basesearch&lt;BR /&gt;|&amp;nbsp;lookup networks.csv ip as src_ip OUTPUT category&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I have validated that it's a CIDR issue by doing a "...| rex mode=sed field=src_ip " and placing a literal CIDR entry in there and having the category come out.&lt;BR /&gt;&lt;BR /&gt;Thank you for your help!&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2024 21:47:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-lookup-not-inputlookup-and-cidr-matching/m-p/673877#M230700</guid>
      <dc:creator>cybersecnutant</dc:creator>
      <dc:date>2024-01-10T21:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk lookup (not inputlookup) and cidr matching</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-lookup-not-inputlookup-and-cidr-matching/m-p/673878#M230701</link>
      <description>&lt;P&gt;Do you have the same issue when referencing the lookup definition itself instead of the CSV file?&lt;BR /&gt;Example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;base_search&amp;gt;
    | lookup &amp;lt;lookup definition pointing to networks.csv&amp;gt; ip as src_ip OUTPUT category&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;I think that the advanced settings may only be applied when referencing the definition.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2024 22:01:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-lookup-not-inputlookup-and-cidr-matching/m-p/673878#M230701</guid>
      <dc:creator>dtburrows3</dc:creator>
      <dc:date>2024-01-10T22:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk lookup (not inputlookup) and cidr matching</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-lookup-not-inputlookup-and-cidr-matching/m-p/673881#M230702</link>
      <description>&lt;P&gt;Thank you! That was it.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2024 22:13:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-lookup-not-inputlookup-and-cidr-matching/m-p/673881#M230702</guid>
      <dc:creator>cybersecnutant</dc:creator>
      <dc:date>2024-01-10T22:13:12Z</dc:date>
    </item>
  </channel>
</rss>

