<?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 compare the output of one lookup to another lookup csv error in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-compare-the-output-of-one-lookup-to-another-lookup-csv/m-p/383794#M112102</link>
    <description>&lt;P&gt;But if you are outputting ownership or Ownership or bob_ownership - it has to exist in your lookup file and it has to exist in the right case.&lt;/P&gt;

&lt;P&gt;So if you have Ownership in server_ip_list.csv and you output bob_ownership - that's it where your error comes from.&lt;/P&gt;

&lt;P&gt;So you couldn't ignore it...&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 21:17:23 GMT</pubDate>
    <dc:creator>rvany</dc:creator>
    <dc:date>2020-09-29T21:17:23Z</dc:date>
    <item>
      <title>How to compare the output of one lookup to another lookup csv error</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-compare-the-output-of-one-lookup-to-another-lookup-csv/m-p/383783#M112091</link>
      <description>&lt;P&gt;This following search works just fine:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| inputlookup assets.csv | inputlookup append=true all_ vulnerabilities.csv | lookup  application_ip_list ip as "IP Address" OUTPUT application | lookup server_ip_list.csv ip as "IP Address" OUTPUT bob_ownership | lookup ip_summary.csv "IP Address" OUTPUT "OS CPE"
| search application="$application$" Plugin!="19506" | `ownership`
| search ownership="$field3$" Plugin=$field4$
| rename ownership as Ownership
| table"IP Address","MAC Address","DNS Name","NetBIOS Name", Ownership
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Results:&lt;BR /&gt;
192.168.1.241   01:50:56:94:46:b3&lt;BR /&gt;
192.168.1.240   02:60:66:84:45:b11&lt;BR /&gt;
192.168.1.239   05:51:56:64:13:b16&lt;/P&gt;

&lt;P&gt;However, I want compare the results of the above search to another CSV called test_data_ip_changes.csv and get the search to output the differences. I tried using the following search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| inputlookup assets.csv | inputlookup append=true all_ vulnerabilities.csv | lookup  application_ip_list ip as "IP Address" OUTPUT application | lookup server_ip_list.csv ip as "IP Address" OUTPUT bob_ownership | lookup ip_summary.csv "IP Address" OUTPUT "OS CPE" 
| lookup test_data_ip_changes.csv "IP Address" OUTPUTNEW "IP Address" as "IP Differences Found" | where isnull("IP Differences Found")
| search application="$application$" Plugin!="19506" | `ownership`
| search ownership="$field3$" Plugin=$field4$
| rename ownership as Ownership
| table"IP Address","MAC Address","DNS Name","NetBIOS Name", Ownership
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I get the following error:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;“Error in ‘lookup’ command: Could not find all of the specified fields in the lookup table"&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;I should get the added IP addresses because the output of the first search does not have them. I should get the following:&lt;/P&gt;

&lt;P&gt;192.168.1.245   01:50:56:94:45:b8&lt;BR /&gt;
192.168.1.244   02:60:66:84:45:b10&lt;BR /&gt;
192.168.1.243   05:51:56:64:13:b15&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:19:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-compare-the-output-of-one-lookup-to-another-lookup-csv/m-p/383783#M112091</guid>
      <dc:creator>umdterps02</dc:creator>
      <dc:date>2020-09-29T21:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare the output of one lookup to another lookup csv error</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-compare-the-output-of-one-lookup-to-another-lookup-csv/m-p/383784#M112092</link>
      <description>&lt;P&gt;It looks like you are missing which field needs to compare with source data and lookup data in below portion of your second query.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| lookup ip_summary.csv "IP Address" OUTPUT "OS CPE" 
| lookup test_data_ip_changes.csv "IP Address" OUTPUTNEW "IP Address" as "IP Differences Found" | where isnull("IP Differences Found")
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;It will be something like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| lookup ip_summary.csv ip as "IP Address" OUTPUT "OS CPE" 
| lookup test_data_ip_changes.csv ip as "IP Address" OUTPUTNEW "IP Address" as "IP Differences Found" | where isnull("IP Differences Found")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 17 Sep 2018 15:44:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-compare-the-output-of-one-lookup-to-another-lookup-csv/m-p/383784#M112092</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2018-09-17T15:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare the output of one lookup to another lookup csv error</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-compare-the-output-of-one-lookup-to-another-lookup-csv/m-p/383785#M112093</link>
      <description>&lt;P&gt;That did not work =(. I still get:&lt;/P&gt;

&lt;P&gt;“Error in ‘lookup’ command: Could not find all of the specified destination fields in the lookup table"&lt;/P&gt;

&lt;P&gt;lookup test_data_ip_changes.csv and ip_summary.csv dont not have "ip" it uses "IP Address" in the field.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:16:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-compare-the-output-of-one-lookup-to-another-lookup-csv/m-p/383785#M112093</guid>
      <dc:creator>umdterps02</dc:creator>
      <dc:date>2020-09-29T21:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare the output of one lookup to another lookup csv error</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-compare-the-output-of-one-lookup-to-another-lookup-csv/m-p/383786#M112094</link>
      <description>&lt;P&gt;I gave an example, if you don't have &lt;CODE&gt;ip&lt;/CODE&gt; field in your lookup file then you need to map correct field from lookup file.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Sep 2018 19:18:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-compare-the-output-of-one-lookup-to-another-lookup-csv/m-p/383786#M112094</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2018-09-17T19:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare the output of one lookup to another lookup csv error</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-compare-the-output-of-one-lookup-to-another-lookup-csv/m-p/383787#M112095</link>
      <description>&lt;P&gt;Yes, I did change the syntax.  That would the same search I had before =(&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| lookup test_data_ip_changes.csv "IP Address" OUTPUTNEW "IP Address" as "IP Differences Found" | where isnull("IP Differences Found")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 17 Sep 2018 20:07:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-compare-the-output-of-one-lookup-to-another-lookup-csv/m-p/383787#M112095</guid>
      <dc:creator>umdterps02</dc:creator>
      <dc:date>2018-09-17T20:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare the output of one lookup to another lookup csv error</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-compare-the-output-of-one-lookup-to-another-lookup-csv/m-p/383788#M112096</link>
      <description>&lt;P&gt;Could you please provide the header lines of your lookup files?&lt;BR /&gt;
Do you have defined automatic lookups?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Sep 2018 08:56:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-compare-the-output-of-one-lookup-to-another-lookup-csv/m-p/383788#M112096</guid>
      <dc:creator>rvany</dc:creator>
      <dc:date>2018-09-18T08:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare the output of one lookup to another lookup csv error</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-compare-the-output-of-one-lookup-to-another-lookup-csv/m-p/383789#M112097</link>
      <description>&lt;P&gt;server_ip_list.csv -  ip,MAC Address,DNS Name,NetBIOS Name,Ownership&lt;BR /&gt;
assets.csv - ip,MAC Address,DNS Name,NetBIOS Name,Ownership&lt;BR /&gt;
lookup server_ip_list.csv - ip,MAC Address,DNS Name,NetBIOS Name,bob_ownership &lt;BR /&gt;
lookup ip_summary.csv - ip address, MAC Address,DNS Name,NetBIOS Name&lt;BR /&gt;
test_data_ip_changes.csv - ip,MAC Address,DNS Name,NetBIOS Name,Ownership&lt;/P&gt;

&lt;P&gt;There are some slight differences, but they mostly the same.  I know the test_data_ip_changes.csv has 3 more ips/MAC address that are not in the others, so I'm trying to get Splunk to display just the 3 new that are in test_data_ip_changes.csv.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:16:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-compare-the-output-of-one-lookup-to-another-lookup-csv/m-p/383789#M112097</guid>
      <dc:creator>umdterps02</dc:creator>
      <dc:date>2020-09-29T21:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare the output of one lookup to another lookup csv error</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-compare-the-output-of-one-lookup-to-another-lookup-csv/m-p/383790#M112098</link>
      <description>&lt;P&gt;In &lt;CODE&gt;lookup ip_summary.csv&lt;/CODE&gt; - do you have "ip address" or "IP Address"?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2018 12:26:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-compare-the-output-of-one-lookup-to-another-lookup-csv/m-p/383790#M112098</guid>
      <dc:creator>rvany</dc:creator>
      <dc:date>2018-09-19T12:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare the output of one lookup to another lookup csv error</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-compare-the-output-of-one-lookup-to-another-lookup-csv/m-p/383791#M112099</link>
      <description>&lt;P&gt;"IP Address"&lt;/P&gt;

&lt;P&gt;I has a copy/paste error:&lt;/P&gt;

&lt;P&gt;server_ip_list.csv - ip,MAC Address,DNS Name,NetBIOS Name,Ownership&lt;BR /&gt;
assets.csv - ip,MAC Address,DNS Name,NetBIOS Name,Ownership&lt;BR /&gt;
lookup server_ip_list.csv - Ip,MAC Address,DNS Name,NetBIOS Name,bob_ownership &lt;BR /&gt;
lookup ip_summary.csv - IP Address, MAC Address,DNS Name,NetBIOS Name&lt;BR /&gt;
test_data_ip_changes.csv - ip,MAC Address,DNS Name,NetBIOS Name,Ownership&lt;/P&gt;

&lt;P&gt;Ignore Ownership, we are just trying to get IP Address and MAC Address. &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:17:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-compare-the-output-of-one-lookup-to-another-lookup-csv/m-p/383791#M112099</guid>
      <dc:creator>umdterps02</dc:creator>
      <dc:date>2020-09-29T21:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare the output of one lookup to another lookup csv error</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-compare-the-output-of-one-lookup-to-another-lookup-csv/m-p/383792#M112100</link>
      <description>&lt;P&gt;I just realize, there's also a "application_ip_list" - seems to be a lookup definition (no .csv appended). What fields are inside this one? All "ip" fields in all csv files are lowercase?&lt;/P&gt;

&lt;P&gt;And - you have server_ip_list.csv two times in your post (one with a preceding "lookup") but with a different last fieldname: Ownership vs. bob_ownership&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:17:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-compare-the-output-of-one-lookup-to-another-lookup-csv/m-p/383792#M112100</guid>
      <dc:creator>rvany</dc:creator>
      <dc:date>2020-09-29T21:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare the output of one lookup to another lookup csv error</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-compare-the-output-of-one-lookup-to-another-lookup-csv/m-p/383793#M112101</link>
      <description>&lt;P&gt;Sorry it was a typo:&lt;/P&gt;

&lt;P&gt;assest.csv -  ip,MAC Address,DNS Name,NetBIOS Name,Ownership&lt;BR /&gt;
all_ vulnerabilities.csv -  ip,MAC Address,DNS Name,NetBIOS Name,Ownership&lt;BR /&gt;
application_ip_list.csv -  ip,MAC Address,DNS Name,NetBIOS Name,Ownership&lt;BR /&gt;
server_ip_list.csv  - ip,MAC Address,DNS Name,NetBIOS Name,Ownership&lt;BR /&gt;
ip_summary.csv - IP Address,MAC Address,DNS Name,NetBIOS Name,Ownership&lt;BR /&gt;
test_data_ip_changes.csv -  IP Address,MAC Address,DNS Name,NetBIOS Name,Ownership&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:17:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-compare-the-output-of-one-lookup-to-another-lookup-csv/m-p/383793#M112101</guid>
      <dc:creator>umdterps02</dc:creator>
      <dc:date>2020-09-29T21:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare the output of one lookup to another lookup csv error</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-compare-the-output-of-one-lookup-to-another-lookup-csv/m-p/383794#M112102</link>
      <description>&lt;P&gt;But if you are outputting ownership or Ownership or bob_ownership - it has to exist in your lookup file and it has to exist in the right case.&lt;/P&gt;

&lt;P&gt;So if you have Ownership in server_ip_list.csv and you output bob_ownership - that's it where your error comes from.&lt;/P&gt;

&lt;P&gt;So you couldn't ignore it...&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:17:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-compare-the-output-of-one-lookup-to-another-lookup-csv/m-p/383794#M112102</guid>
      <dc:creator>rvany</dc:creator>
      <dc:date>2020-09-29T21:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare the output of one lookup to another lookup csv error</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-compare-the-output-of-one-lookup-to-another-lookup-csv/m-p/383795#M112103</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;| inputlookup assets.csv | inputlookup append=true all_vulnerabilities.csv | lookup application_ip_list ip as "IP Address" OUTPUT application 
| search application="$application$" Plugin!="19506" | `ownership`
| search ownership="*" Plugin=*
| rename ownership as Ownership
| table"IP Address","MAC Address","DNS Name","NetBIOS Name", Ownership
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Okay, so chopped the search up to make it a little easier to understand.  The above revised search returns:&lt;BR /&gt;
IP Address             Mac Address           DNS Name         NetBIOS Name           Ownership &lt;BR /&gt;
192.168.1.241  01:50:56:94:46:b3         test.com                 EXTERNAL\TEST  TEST-APPS&lt;BR /&gt;
 192.168.1.240  02:60:66:84:45:b11       test.com                                               TEST-APPS &lt;BR /&gt;
192.168.1.239  05:51:56:64:13:b16       test.com                                                TEST-APPS&lt;/P&gt;

&lt;P&gt;Headers of CSV's are follows:&lt;BR /&gt;
assets.csv  ip,MAC Address,DNS Name,NetBIOS Name,Ownership&lt;BR /&gt;
application_ip_list Ip,MAC Address,DNS Name,NetBIOS Name,application&lt;/P&gt;

&lt;P&gt;I want to compare the results to a test csv I made called test_data_ip_changes.csv with the same headers.  I want a search to display just the ips/MAC Addresses that are not in the above revised search.&lt;/P&gt;

&lt;P&gt;The headers of the test_data_ip_changes.csv  are as follows:&lt;BR /&gt;
test_data_ip_changes.csv   ip,MAC Address,DNS Name,NetBIOS Name,application&lt;/P&gt;

&lt;P&gt;I tired the following below:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| inputlookup assets.csv | inputlookup append=true all_vulnerabilities.csv | lookup  application_ip_list ip as "IP Address" OUTPUT application | lookup test_data_ip_changes.csv ip OUTPUTNEW ip as TestField | rename ip as "IP Diffference Found" | where isnull(TestField)
| search application="$application$"  Plugin!="19506" | `ownership`
| search ownership="*" Plugin=*
| rename ownership as Ownership
| table "IP Diffference Found" , "MAC Address"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;"No Results Found"&lt;/P&gt;

&lt;P&gt;The following should have been shown:&lt;/P&gt;

&lt;P&gt;192.168.1.245   01:50:56:94:45:b8&lt;BR /&gt;
192.168.1.244   02:60:66:84:45:b10&lt;BR /&gt;
192.168.1.243   05:51:56:64:13:b15&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:17:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-compare-the-output-of-one-lookup-to-another-lookup-csv/m-p/383795#M112103</guid>
      <dc:creator>umdterps02</dc:creator>
      <dc:date>2020-09-29T21:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare the output of one lookup to another lookup csv error</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-compare-the-output-of-one-lookup-to-another-lookup-csv/m-p/383796#M112104</link>
      <description>&lt;P&gt;Ok, that's a step further - the lookup-error has gone &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;But there are still a lot of missing details:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;$application$ is a token from some dashboard input, right?&lt;/LI&gt;
&lt;LI&gt;where does the Plugin-field/-value come from?&lt;/LI&gt;
&lt;LI&gt;what's the content of &lt;CODE&gt;ownership&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI&gt;the first field of &lt;CODE&gt;application_ip_list&lt;/CODE&gt;is &lt;CODE&gt;ip&lt;/CODE&gt;, and not &lt;CODE&gt;Ip&lt;/CODE&gt;, right?&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;I have to rebuild this scenario in my test environment to give you correct advice. If you give all the necessary details with &lt;STRONG&gt;accuracy&lt;/STRONG&gt; I am willing to investigate further. But I'm not going on wasting my time guessing. Sorry.&lt;/P&gt;

&lt;P&gt;Take your time and put together all the information one needs to reproduce your specific scenario, make it as short as possible (is "all_vulnerabilities.csv" really needed? Is "Plugin"?) and I will be happy to help you as far as I can - I'm still learning every day &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2018 19:39:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-compare-the-output-of-one-lookup-to-another-lookup-csv/m-p/383796#M112104</guid>
      <dc:creator>rvany</dc:creator>
      <dc:date>2018-09-19T19:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare the output of one lookup to another lookup csv error</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-compare-the-output-of-one-lookup-to-another-lookup-csv/m-p/383797#M112105</link>
      <description>&lt;P&gt;Yes, I think we are getting closer! &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;I chopped the search even more to simply it even more:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| inputlookup assets.csv | inputlookup append=true all_vulnerabilities.csv | lookup         application_ip_list ip as "IP Address" OUTPUT application 
 | search application="$application$"  `ownership`
 | rename ownership as Ownership
 | table"IP Address","MAC Address","DNS Name","NetBIOS Name", Ownership
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The above results return:&lt;/P&gt;

&lt;P&gt;IP Address Mac Address DNS Name NetBIOS Name Ownership &lt;BR /&gt;
192.168.1.241 01:50:56:94:46:b3 test.com EXTERNAL\TEST TEST-APPS&lt;BR /&gt;
192.168.1.240 02:60:66:84:45:b11 test.com TEST-APPS &lt;BR /&gt;
192.168.1.239 05:51:56:64:13:b16 test.com TEST-APPS&lt;/P&gt;

&lt;P&gt;To answer your questions:&lt;/P&gt;

&lt;P&gt;• $application$ is a token from some dashboard input, right? Yes, so when application is selected from a dropdown, it populates that system and it attributes .&lt;BR /&gt;
• where does the Plugin-field/-value come from? I took that out of the update search (before it showed plugins)&lt;BR /&gt;
• what's the content of ownership?  I took that out, in the revised search it just returns the owner of the system. &lt;BR /&gt;
• what's the content of ownership the first field of application_ip_listis ip, and not Ip,&lt;BR /&gt;
       right? yes, ip&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; | inputlookup assets.csv | inputlookup append=true all_vulnerabilities.csv | lookup  application_ip_list ip as "IP Address" OUTPUT application | lookup test_data_ip_changes.csv ip OUTPUTNEW ip as TestField | rename ip as "IP Diffference Found" | where isnull(TestField)
 | search application="$application$"  | `ownership`
 | rename ownership as Ownership
 | table "IP Diffference Found" , "MAC Address"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;"No Results Found"&lt;/P&gt;

&lt;P&gt;The following should have been shown (the 3 new ips from test_data_ip_changes.csv):&lt;BR /&gt;
192.168.1.245 01:50:56:94:45:b8&lt;BR /&gt;
192.168.1.244 02:60:66:84:45:b10&lt;BR /&gt;
192.168.1.243 05:51:56:64:13:b15&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:17:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-compare-the-output-of-one-lookup-to-another-lookup-csv/m-p/383797#M112105</guid>
      <dc:creator>umdterps02</dc:creator>
      <dc:date>2020-09-29T21:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare the output of one lookup to another lookup csv error</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-compare-the-output-of-one-lookup-to-another-lookup-csv/m-p/383798#M112106</link>
      <description>&lt;P&gt;Ok, let's do it step by step - the first three statements of your spl are:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| inputlookup assets.csv
| inputlookup append=true all_vulnerabilities.csv
| lookup  application_ip_list ip as "IP Address" OUTPUT application
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This only gives complete results if "IP Address" is either in &lt;CODE&gt;assets.csv&lt;/CODE&gt; or in &lt;CODE&gt;all_vulnerabilities.csv&lt;/CODE&gt;. According to your information above there is no "IP Address" in either of these files (but only &lt;CODE&gt;ip&lt;/CODE&gt;).&lt;/P&gt;</description>
      <pubDate>Fri, 21 Sep 2018 06:30:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-compare-the-output-of-one-lookup-to-another-lookup-csv/m-p/383798#M112106</guid>
      <dc:creator>rvany</dc:creator>
      <dc:date>2018-09-21T06:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare the output of one lookup to another lookup csv error</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-compare-the-output-of-one-lookup-to-another-lookup-csv/m-p/383799#M112107</link>
      <description>&lt;P&gt;To make it really simple:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;assets1.csv&lt;/CODE&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;ip,mac_address,dns_name
192.168.1.241,01:50:56:94:46:b3,a.test.com
192.168.1.240,02:60:66:84:45:b1,b.test.com
192.168.1.239,05:51:56:64:13:b6,c.test.com
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;CODE&gt;test_data_ip_changes.csv&lt;/CODE&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;ip,mac_address,dns_name
192.168.1.241,01:50:56:94:46:b3,a.test.com
192.168.1.240,02:60:66:84:45:b1,b.test.com
192.168.1.239,05:51:56:64:13:b6,c.test.com
192.168.1.111,00:11:22:33:44:01,a.test.de
192.168.1.112,00:11:22:33:44:02,b.test.de
192.168.1.113,00:11:22:33:44:03,c.test.de
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;CODE&gt;spl&lt;/CODE&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| inputlookup test_data_ip_changes.csv
| lookup assets1.csv ip outputnew ip as ip1, mac_address as ma1
| where isnull(ip1)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The way you formed your spl:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| lookup test_data_ip_changes.csv ip OUTPUTNEW ip as TestField
| where isnull(TestField)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Splunk only picks up the already existing ip-addresses vom your test_data...csv&lt;/P&gt;</description>
      <pubDate>Fri, 21 Sep 2018 09:12:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-compare-the-output-of-one-lookup-to-another-lookup-csv/m-p/383799#M112107</guid>
      <dc:creator>rvany</dc:creator>
      <dc:date>2018-09-21T09:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare the output of one lookup to another lookup csv error</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-compare-the-output-of-one-lookup-to-another-lookup-csv/m-p/383800#M112108</link>
      <description>&lt;P&gt;I need more time to test your SPL because we are having issues with our server.  I will update this thread once issues are resolved.  &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Sep 2018 15:07:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-compare-the-output-of-one-lookup-to-another-lookup-csv/m-p/383800#M112108</guid>
      <dc:creator>umdterps02</dc:creator>
      <dc:date>2018-09-24T15:07:57Z</dc:date>
    </item>
  </channel>
</rss>

