<?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 How do I add fields from a lookup table to my search event? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-add-fields-from-a-lookup-table-to-my-search-event/m-p/405812#M190917</link>
    <description>&lt;P&gt;I have a lookup table geo-lookup.csv which has data in the format:&lt;BR /&gt;
IP, Coordinates, Location.&lt;/P&gt;

&lt;P&gt;My search has the field ipAddress which is used as the filter to match the IP field in the table. I want the Location field to be added to the search events for the matching ipAddress field.&lt;/P&gt;

&lt;P&gt;I'm using the command:&lt;BR /&gt;
base search | lookup geo-lookup IP as ipAddress  OUTPUTNEW Location as location&lt;/P&gt;

&lt;P&gt;Can anyone tell me where I'm going wrong?&lt;BR /&gt;
All my permissions and lookup definitions are configured correctly. &lt;/P&gt;</description>
    <pubDate>Wed, 24 Jul 2019 18:38:11 GMT</pubDate>
    <dc:creator>angshul</dc:creator>
    <dc:date>2019-07-24T18:38:11Z</dc:date>
    <item>
      <title>How do I add fields from a lookup table to my search event?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-add-fields-from-a-lookup-table-to-my-search-event/m-p/405812#M190917</link>
      <description>&lt;P&gt;I have a lookup table geo-lookup.csv which has data in the format:&lt;BR /&gt;
IP, Coordinates, Location.&lt;/P&gt;

&lt;P&gt;My search has the field ipAddress which is used as the filter to match the IP field in the table. I want the Location field to be added to the search events for the matching ipAddress field.&lt;/P&gt;

&lt;P&gt;I'm using the command:&lt;BR /&gt;
base search | lookup geo-lookup IP as ipAddress  OUTPUTNEW Location as location&lt;/P&gt;

&lt;P&gt;Can anyone tell me where I'm going wrong?&lt;BR /&gt;
All my permissions and lookup definitions are configured correctly. &lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2019 18:38:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-add-fields-from-a-lookup-table-to-my-search-event/m-p/405812#M190917</guid>
      <dc:creator>angshul</dc:creator>
      <dc:date>2019-07-24T18:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: How do I add fields from a lookup table to my search event?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-add-fields-from-a-lookup-table-to-my-search-event/m-p/405813#M190918</link>
      <description>&lt;P&gt;@angshul - make sure you mention exact name with csv extension for your lookup. &lt;BR /&gt;
    base search | lookup geo-lookup.csv IP as ipAddress OUTPUTNEW Location as location&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2019 20:08:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-add-fields-from-a-lookup-table-to-my-search-event/m-p/405813#M190918</guid>
      <dc:creator>Vijeta</dc:creator>
      <dc:date>2019-07-24T20:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: How do I add fields from a lookup table to my search event?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-add-fields-from-a-lookup-table-to-my-search-event/m-p/405814#M190919</link>
      <description>&lt;P&gt;Thanks for the help.&lt;BR /&gt;
The issue was I had to use the fields within double quotes.&lt;BR /&gt;
Its working now&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2019 20:10:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-add-fields-from-a-lookup-table-to-my-search-event/m-p/405814#M190919</guid>
      <dc:creator>angshul</dc:creator>
      <dc:date>2019-07-24T20:10:20Z</dc:date>
    </item>
  </channel>
</rss>

