<?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: Error in 'lookup' command: Cannot find the source field in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Error-in-lookup-command-Cannot-find-the-source-field/m-p/557705#M158392</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/163730"&gt;@venkatasri&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;inputlookup returns IP and IP2 along with all the addresses in 2 columns&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Full error message reads;&lt;/P&gt;&lt;DIV class="alerts search-searchflashmessages"&gt;&lt;DIV class="alert alert-error"&gt;Error in 'lookup' command: Cannot find the source field 'IP' in the lookup table 'IP_lookup'.&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="job-status-container"&gt;&lt;DIV class="shared-jobstatus"&gt;&lt;DIV class="alert alert-error"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 29 Jun 2021 22:52:08 GMT</pubDate>
    <dc:creator>ktell</dc:creator>
    <dc:date>2021-06-29T22:52:08Z</dc:date>
    <item>
      <title>Error in 'lookup' command: Cannot find the source field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-in-lookup-command-Cannot-find-the-source-field/m-p/557691#M158387</link>
      <description>&lt;P&gt;I have a csv lookup table of IP addresses that I want to execute searches on server logs with, but I'm stopped by an error code (title). It tells me the source field (IP) isn't found in the lookup table (IP_lookup), but my lookup definition lists IP as a supported field. I've also tried adding the lookup field through the data model builder (no luck).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Search query is&lt;/P&gt;&lt;P&gt;index="ef" | lookup IP_lookup IP as clientip OUTPUT IP2 as IP Address&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For context, my lookup table has two duplicate columns of addresses. Any help would be appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 20:39:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-in-lookup-command-Cannot-find-the-source-field/m-p/557691#M158387</guid>
      <dc:creator>ktell</dc:creator>
      <dc:date>2021-06-29T20:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error in 'lookup' command: Cannot find the source field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-in-lookup-command-Cannot-find-the-source-field/m-p/557704#M158391</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/235882"&gt;@ktell&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's strange! can you execute | inputlookup IP_lookup and share the 'field names/columns' exactly as they return they are case sensitive?&lt;/P&gt;&lt;P&gt;You query requires a quotes around something like this -&amp;nbsp; Share the exact error that you are getting.&lt;/P&gt;&lt;P&gt;index="ef" | lookup IP_lookup IP as clientip OUTPUT IP2 as "IP Address"&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 22:42:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-in-lookup-command-Cannot-find-the-source-field/m-p/557704#M158391</guid>
      <dc:creator>venkatasri</dc:creator>
      <dc:date>2021-06-29T22:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error in 'lookup' command: Cannot find the source field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-in-lookup-command-Cannot-find-the-source-field/m-p/557705#M158392</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/163730"&gt;@venkatasri&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;inputlookup returns IP and IP2 along with all the addresses in 2 columns&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Full error message reads;&lt;/P&gt;&lt;DIV class="alerts search-searchflashmessages"&gt;&lt;DIV class="alert alert-error"&gt;Error in 'lookup' command: Cannot find the source field 'IP' in the lookup table 'IP_lookup'.&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="job-status-container"&gt;&lt;DIV class="shared-jobstatus"&gt;&lt;DIV class="alert alert-error"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 29 Jun 2021 22:52:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-in-lookup-command-Cannot-find-the-source-field/m-p/557705#M158392</guid>
      <dc:creator>ktell</dc:creator>
      <dc:date>2021-06-29T22:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: Error in 'lookup' command: Cannot find the source field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-in-lookup-command-Cannot-find-the-source-field/m-p/557715#M158397</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/235882"&gt;@ktell&lt;/a&gt;&amp;nbsp;can you follow this link and find if csv having any special chars inside -&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Splunk-Search/Error-in-lookup-command-Could-not-find-all-of-the-specified/m-p/90119" target="_blank"&gt;Re: Error in 'lookup' command: Could not find all ... - Splunk Community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Is there lookup definitions already configured in backend props.conf related to same IP_lookup ?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2021 00:35:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-in-lookup-command-Cannot-find-the-source-field/m-p/557715#M158397</guid>
      <dc:creator>venkatasri</dc:creator>
      <dc:date>2021-06-30T00:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: Error in 'lookup' command: Cannot find the source field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-in-lookup-command-Cannot-find-the-source-field/m-p/557717#M158399</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/163730"&gt;@venkatasri&lt;/a&gt;&amp;nbsp;I'm not at my workstation anymore, I'll give your suggestions a try tomorrow or setup one later&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2021 00:46:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-in-lookup-command-Cannot-find-the-source-field/m-p/557717#M158399</guid>
      <dc:creator>ktell</dc:creator>
      <dc:date>2021-06-30T00:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error in 'lookup' command: Cannot find the source field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-in-lookup-command-Cannot-find-the-source-field/m-p/558050#M158485</link>
      <description>&lt;P&gt;Thanks for the suggestion, I'm not familiar with vi but I was able to get a clean csv file by avoiding notepad&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2021 17:00:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-in-lookup-command-Cannot-find-the-source-field/m-p/558050#M158485</guid>
      <dc:creator>ktell</dc:creator>
      <dc:date>2021-07-01T17:00:14Z</dc:date>
    </item>
  </channel>
</rss>

