<?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 Error using lookup table in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Error-using-lookup-table/m-p/199749#M57865</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;

&lt;P&gt;I am running the following search with the end aim of using the 'map' functionality to plot the results but when I run the query an error is returned advising&lt;/P&gt;

&lt;P&gt;Error in 'lookup' command: Could not find all of the specified lookup fields in the lookup table.&lt;/P&gt;

&lt;P&gt;The search I am running is&lt;/P&gt;

&lt;P&gt;sourcetype="netscaler" | iplocation IPADDRESS | eval GeoLocation=case(Country="Australia", "Views from Australia", Country!="Australia", "International Views")  | search GeoLocation="Views from Australia" NOT City="" OR Country="" | eval City=Upper(City) | lookup geoLocations_lookup City OUTPUT lat lon&lt;/P&gt;

&lt;P&gt;I have verified that the lookup table is correct and it can be viewed using the | inputlookup call.&lt;/P&gt;

&lt;P&gt;If I remove the lookup and run the query all works and the 'City' information is returned. I can then run further searches using City=XXXXX so it must be picking up the City name/value correctly so I am puzzled as to why the search fails using the lookup command.&lt;/P&gt;

&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;

&lt;P&gt;Ps.. I know there is a Google Maps App but that is also giving us grief running in a distributed environment so I am hoping to use the above as an alternative.&lt;/P&gt;

&lt;P&gt;Cheers,&lt;/P&gt;

&lt;P&gt;Alastair&lt;/P&gt;</description>
    <pubDate>Wed, 18 Jun 2014 05:40:06 GMT</pubDate>
    <dc:creator>ahogbin</dc:creator>
    <dc:date>2014-06-18T05:40:06Z</dc:date>
    <item>
      <title>Error using lookup table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-using-lookup-table/m-p/199749#M57865</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;

&lt;P&gt;I am running the following search with the end aim of using the 'map' functionality to plot the results but when I run the query an error is returned advising&lt;/P&gt;

&lt;P&gt;Error in 'lookup' command: Could not find all of the specified lookup fields in the lookup table.&lt;/P&gt;

&lt;P&gt;The search I am running is&lt;/P&gt;

&lt;P&gt;sourcetype="netscaler" | iplocation IPADDRESS | eval GeoLocation=case(Country="Australia", "Views from Australia", Country!="Australia", "International Views")  | search GeoLocation="Views from Australia" NOT City="" OR Country="" | eval City=Upper(City) | lookup geoLocations_lookup City OUTPUT lat lon&lt;/P&gt;

&lt;P&gt;I have verified that the lookup table is correct and it can be viewed using the | inputlookup call.&lt;/P&gt;

&lt;P&gt;If I remove the lookup and run the query all works and the 'City' information is returned. I can then run further searches using City=XXXXX so it must be picking up the City name/value correctly so I am puzzled as to why the search fails using the lookup command.&lt;/P&gt;

&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;

&lt;P&gt;Ps.. I know there is a Google Maps App but that is also giving us grief running in a distributed environment so I am hoping to use the above as an alternative.&lt;/P&gt;

&lt;P&gt;Cheers,&lt;/P&gt;

&lt;P&gt;Alastair&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jun 2014 05:40:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-using-lookup-table/m-p/199749#M57865</guid>
      <dc:creator>ahogbin</dc:creator>
      <dc:date>2014-06-18T05:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: Error using lookup table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-using-lookup-table/m-p/199750#M57866</link>
      <description>&lt;P&gt;Fixed... a silly mistake on my behalf in that I had the reference column called by the incorrect name.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jun 2014 06:01:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-using-lookup-table/m-p/199750#M57866</guid>
      <dc:creator>ahogbin</dc:creator>
      <dc:date>2014-06-18T06:01:50Z</dc:date>
    </item>
  </channel>
</rss>

