<?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: Automated lookup using KVstore lookup in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Automated-lookup-using-KVstore-lookup/m-p/552369#M156777</link>
    <description>&lt;P&gt;That's interesting.&amp;nbsp; Not sure how I haven't come across that document before.&amp;nbsp; We must have some other issues on this particular instance because replicating the KV store to the indexers did not help.&amp;nbsp; Also, when you look at the kvstore pages in the DMC it doesn't show the accelerated fields status either.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the info!&lt;/P&gt;</description>
    <pubDate>Thu, 20 May 2021 10:44:47 GMT</pubDate>
    <dc:creator>coreyCLI</dc:creator>
    <dc:date>2021-05-20T10:44:47Z</dc:date>
    <item>
      <title>Automated lookup using KVstore lookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Automated-lookup-using-KVstore-lookup/m-p/545374#M154460</link>
      <description>&lt;P&gt;I have a KV store collection that is populated.&amp;nbsp; I have a lookup definition pointing to the KV store.&amp;nbsp; If you use the kvstore lookup definition in a search, I get matching results and everything works as expected.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=* source=jello
| lookup kvstore_lookup ip as srcip outputnew city as src_city&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, if I move that into an automatic lookup it does not work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Before using the kvstore I was using a csv lookup and the automatic lookups where working fine.&amp;nbsp; The csv grew to 122mb so I populated a kvstore with the below.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| inputlookup old_csv_lookup 
| outputlookup kvstore_lookup&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Permissions on the automatic lookups are global, everyone read, admin write.&amp;nbsp; I can see in the search log that its calling the automatic lookup "Will use Lookup: Lookup-......" but the the fields that are supposed to be added in from the lookup dont populate.&lt;/P&gt;&lt;P&gt;Also, I am using matchtype=CIDR for this lookup definition.&lt;/P&gt;&lt;P&gt;Any ideas why the automatic lookup is not working now that its using the kvstore?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Mar 2021 12:46:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Automated-lookup-using-KVstore-lookup/m-p/545374#M154460</guid>
      <dc:creator>coreyCLI</dc:creator>
      <dc:date>2021-03-25T12:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: Automated lookup using KVstore lookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Automated-lookup-using-KVstore-lookup/m-p/550639#M156257</link>
      <description>&lt;P&gt;I have run into exactly this issue and was going to post on it.&lt;BR /&gt;&lt;BR /&gt;symptoms: like above, exact replica configuration using csv works just fine.&lt;/P&gt;&lt;P&gt;executing the lookup piped in spl works just fine&lt;/P&gt;&lt;P&gt;defining the same lookup on a data model works just fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;just the automatic lookup doesnt, I have tried both on sourcetype and source&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 13:00:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Automated-lookup-using-KVstore-lookup/m-p/550639#M156257</guid>
      <dc:creator>wmuselle</dc:creator>
      <dc:date>2021-05-06T13:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: Automated lookup using KVstore lookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Automated-lookup-using-KVstore-lookup/m-p/552018#M156652</link>
      <description>&lt;P&gt;In a way I am glad to hear someone else is having this issue! lol.&amp;nbsp; Have you found any solutions?&amp;nbsp; Possible bug?&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 10:44:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Automated-lookup-using-KVstore-lookup/m-p/552018#M156652</guid>
      <dc:creator>coreyCLI</dc:creator>
      <dc:date>2021-05-18T10:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: Automated lookup using KVstore lookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Automated-lookup-using-KVstore-lookup/m-p/552368#M156776</link>
      <description>&lt;P&gt;actually yes:&lt;/P&gt;&lt;P&gt;found it for reference :&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.1.3/Knowledge/Makeyourlookupautomatic&amp;nbsp;" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.1.3/Knowledge/Makeyourlookupautomatic&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Enable replication for a KV store collection&lt;BR /&gt;In Splunk Enterprise, KV Store collections are not bundle-replicated to indexers by default, and lookups run locally on the search head rather than on remote peers. When you enable replication for a KV Store collection, you can run the lookups on your indexers which let you use automatic lookups with your KV Store collections.&lt;/P&gt;&lt;P&gt;To enable replication for a KV Store collection and allow lookups against that collection to be automatic:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Open&amp;nbsp;collections.conf.&lt;BR /&gt;Set&amp;nbsp;replicate&amp;nbsp;to&amp;nbsp;true&amp;nbsp;in the stanza for the collection.&lt;/LI&gt;&lt;LI&gt;This parameter is set to&amp;nbsp;false&amp;nbsp;by default.&lt;BR /&gt;Restart Splunk Enterprise to apply your changes.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Thu, 20 May 2021 10:33:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Automated-lookup-using-KVstore-lookup/m-p/552368#M156776</guid>
      <dc:creator>wmuselle</dc:creator>
      <dc:date>2021-05-20T10:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: Automated lookup using KVstore lookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Automated-lookup-using-KVstore-lookup/m-p/552369#M156777</link>
      <description>&lt;P&gt;That's interesting.&amp;nbsp; Not sure how I haven't come across that document before.&amp;nbsp; We must have some other issues on this particular instance because replicating the KV store to the indexers did not help.&amp;nbsp; Also, when you look at the kvstore pages in the DMC it doesn't show the accelerated fields status either.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the info!&lt;/P&gt;</description>
      <pubDate>Thu, 20 May 2021 10:44:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Automated-lookup-using-KVstore-lookup/m-p/552369#M156777</guid>
      <dc:creator>coreyCLI</dc:creator>
      <dc:date>2021-05-20T10:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: Automated lookup using KVstore lookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Automated-lookup-using-KVstore-lookup/m-p/558548#M158665</link>
      <description>&lt;P&gt;For anyone tracking this. If you&amp;nbsp; migrate to wiredTiger you will loose the metrics for "Accelerations" and "Accelerated Size (MB)".&amp;nbsp; If you want to fix this you can add these regexes to the existing search in the DMC--&amp;gt;"KV Store Instance"--&amp;gt;"Collection Metrics" panel&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex field=data "nindexes\"\:(?&amp;lt;nindexes&amp;gt;\d+)\,"

| rex field=data "totalIndexeSize\"\:(?&amp;lt;totalIndexSize&amp;gt;\d+)\,"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jul 2021 13:00:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Automated-lookup-using-KVstore-lookup/m-p/558548#M158665</guid>
      <dc:creator>coreyCLI</dc:creator>
      <dc:date>2021-07-07T13:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: Automated lookup using KVstore lookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Automated-lookup-using-KVstore-lookup/m-p/668066#M229205</link>
      <description>&lt;P&gt;Hi !&lt;/P&gt;&lt;P&gt;I am facing a very similar issue : after adding a new field to my KV store automatic lookup doesn't work and never returns my new field in my events but I can manually retrieve it with this query :&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| inputlookup my_kvstore&lt;/LI-CODE&gt;&lt;P&gt;but that one :&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=my_index | lookup my_kvstore... &lt;/LI-CODE&gt;&lt;P&gt;throws an error :&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[comma separated of my indexers list] phase_0 - Streamed search execute failed because: Error in 'lookup' command: Cannot find the destination field 'my_new_field' in the lookup table 'my_kvstore'..&lt;/LI-CODE&gt;&lt;P&gt;still, with this query :&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=my_index | lookup local=true my_kvstore... &lt;/LI-CODE&gt;&lt;P&gt;I can retrieve my new field...&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 12:58:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Automated-lookup-using-KVstore-lookup/m-p/668066#M229205</guid>
      <dc:creator>Pony0</dc:creator>
      <dc:date>2023-11-09T12:58:37Z</dc:date>
    </item>
  </channel>
</rss>

