<?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 have lookup iplocation fields added to all events at index time? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-have-lookup-iplocation-fields-added-to-all-events-at/m-p/204950#M59558</link>
    <description>&lt;P&gt;Thanks @dshpritz &amp;amp; @somesoni2. I do see the difference between the two, but was hoping there was something I was missing that would make it work. I also wasn't aware the automatic lookups didn't add the fields at indexing. The goal was to spread the load of those lookups over time instead of a massive amount of lookups at search time.&lt;/P&gt;</description>
    <pubDate>Thu, 04 Aug 2016 18:23:57 GMT</pubDate>
    <dc:creator>dmcbray</dc:creator>
    <dc:date>2016-08-04T18:23:57Z</dc:date>
    <item>
      <title>How to have lookup iplocation fields added to all events at index time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-have-lookup-iplocation-fields-added-to-all-events-at/m-p/204947#M59555</link>
      <description>&lt;P&gt;I would like to have iplocation fields added to all events when they're ingested and have verified the lookup works in the search app. I've done something similar with dnsLookups in props.conf, but doing the same for iplocation doesn't appear to function the same. Here's what I've tried in my props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;LOOKUP-iplocation_src = iplocation prefix=src_ allfields=true srcip 
LOOKUP-iplocation_dst = iplocation prefix=dst_ allfields=true dstip
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;With that I get: &lt;CODE&gt;The lookup table 'iplocation' does not exist.&lt;/CODE&gt; when searching. Do I need to reference the iplocation lookup in my transforms.conf?&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2016 02:14:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-have-lookup-iplocation-fields-added-to-all-events-at/m-p/204947#M59555</guid>
      <dc:creator>dmcbray</dc:creator>
      <dc:date>2016-08-04T02:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to have lookup iplocation fields added to all events at index time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-have-lookup-iplocation-fields-added-to-all-events-at/m-p/204948#M59556</link>
      <description>&lt;P&gt;Just a note that lookups don't occur on indexing. They occur on search. This means that if you configure iplocation as an automatic lookup, then when a user searches the data, the iplocation will occur, which may have some search performance implications.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2016 02:19:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-have-lookup-iplocation-fields-added-to-all-events-at/m-p/204948#M59556</guid>
      <dc:creator>dshpritz</dc:creator>
      <dc:date>2016-08-04T02:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to have lookup iplocation fields added to all events at index time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-have-lookup-iplocation-fields-added-to-all-events-at/m-p/204949#M59557</link>
      <description>&lt;P&gt;The dnsLookup is an external lookup hence you're able to setup search time (as mentioned by @dshpritz) automatic lookup for it. &lt;BR /&gt;
The iplocation is a custom search command hence it's not available as the automatic lookup.&lt;/P&gt;

&lt;P&gt;You can see the difference in the way both are invoked in search&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;base search | lookup dnsLookup ip as clientip OUTPUT host

base search | iplocation clientip
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 04 Aug 2016 03:12:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-have-lookup-iplocation-fields-added-to-all-events-at/m-p/204949#M59557</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-08-04T03:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to have lookup iplocation fields added to all events at index time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-have-lookup-iplocation-fields-added-to-all-events-at/m-p/204950#M59558</link>
      <description>&lt;P&gt;Thanks @dshpritz &amp;amp; @somesoni2. I do see the difference between the two, but was hoping there was something I was missing that would make it work. I also wasn't aware the automatic lookups didn't add the fields at indexing. The goal was to spread the load of those lookups over time instead of a massive amount of lookups at search time.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2016 18:23:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-have-lookup-iplocation-fields-added-to-all-events-at/m-p/204950#M59558</guid>
      <dc:creator>dmcbray</dc:creator>
      <dc:date>2016-08-04T18:23:57Z</dc:date>
    </item>
  </channel>
</rss>

