<?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: Is there an easy way to update a record in KV Store from the results of a Splunk search instead of bulk reloading a lookup table? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Is-there-an-easy-way-to-update-a-record-in-KV-Store-from-the/m-p/135158#M36946</link>
    <description>&lt;P&gt;yeah, is there an example?&lt;/P&gt;</description>
    <pubDate>Mon, 22 Jan 2018 21:21:10 GMT</pubDate>
    <dc:creator>jagadeeshm</dc:creator>
    <dc:date>2018-01-22T21:21:10Z</dc:date>
    <item>
      <title>Is there an easy way to update a record in KV Store from the results of a Splunk search instead of bulk reloading a lookup table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-an-easy-way-to-update-a-record-in-KV-Store-from-the/m-p/135153#M36941</link>
      <description>&lt;P&gt;It seems using KV store from migrating from lookups seems to be very easy.   Just outputlookup to a KV store stanza.   But Is there an easy way to update a record, instead of just bulk reloading of a lookup table.   For example, I would like to update a field for a record in KV store from the results from a Splunk search.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2015 16:00:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-an-easy-way-to-update-a-record-in-KV-Store-from-the/m-p/135153#M36941</guid>
      <dc:creator>clyde772</dc:creator>
      <dc:date>2015-04-14T16:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an easy way to update a record in KV Store from the results of a Splunk search instead of bulk reloading a lookup table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-an-easy-way-to-update-a-record-in-KV-Store-from-the/m-p/135154#M36942</link>
      <description>&lt;P&gt;Please take a look on &lt;A href="http://dev.splunk.com/view/SP-CAAAEZH"&gt;http://dev.splunk.com/view/SP-CAAAEZH&lt;/A&gt; &lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;By default, each KV Store record has a&lt;BR /&gt;
unique key ID, which is stored in the&lt;BR /&gt;
internal "_key" field. When you use&lt;BR /&gt;
outputlookup to write to the KV Store,&lt;BR /&gt;
a key ID is autogenerated if you don't&lt;BR /&gt;
specify one explicitly. If you want to&lt;BR /&gt;
modify a specific record, you need to&lt;BR /&gt;
provide its key ID.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;So to do what you want you need: a) know _key field b) use append=True c) have the whole record (not just one field), because outputlookup with append=true will replace existing document with specified _key.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2015 18:48:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-an-easy-way-to-update-a-record-in-KV-Store-from-the/m-p/135154#M36942</guid>
      <dc:creator>dgladkikh_splun</dc:creator>
      <dc:date>2015-04-14T18:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an easy way to update a record in KV Store from the results of a Splunk search instead of bulk reloading a lookup table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-an-easy-way-to-update-a-record-in-KV-Store-from-the/m-p/135155#M36943</link>
      <description>&lt;P&gt;Thanks! dgladkikh_splunk!!&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2015 00:55:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-an-easy-way-to-update-a-record-in-KV-Store-from-the/m-p/135155#M36943</guid>
      <dc:creator>clyde772</dc:creator>
      <dc:date>2015-04-17T00:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an easy way to update a record in KV Store from the results of a Splunk search instead of bulk reloading a lookup table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-an-easy-way-to-update-a-record-in-KV-Store-from-the/m-p/135156#M36944</link>
      <description>&lt;P&gt;Would really appreciate an example one-liner.  Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2016 00:59:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-an-easy-way-to-update-a-record-in-KV-Store-from-the/m-p/135156#M36944</guid>
      <dc:creator>TonyLeeVT</dc:creator>
      <dc:date>2016-05-04T00:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an easy way to update a record in KV Store from the results of a Splunk search instead of bulk reloading a lookup table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-an-easy-way-to-update-a-record-in-KV-Store-from-the/m-p/135157#M36945</link>
      <description>&lt;P&gt;Here's a good write up on kvstore&lt;/P&gt;

&lt;P&gt;&lt;A href="http://dev.splunk.com/view/webframework-developapps/SP-CAAAEZH"&gt;http://dev.splunk.com/view/webframework-developapps/SP-CAAAEZH&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2016 01:20:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-an-easy-way-to-update-a-record-in-KV-Store-from-the/m-p/135157#M36945</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-05-04T01:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an easy way to update a record in KV Store from the results of a Splunk search instead of bulk reloading a lookup table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-an-easy-way-to-update-a-record-in-KV-Store-from-the/m-p/135158#M36946</link>
      <description>&lt;P&gt;yeah, is there an example?&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2018 21:21:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-an-easy-way-to-update-a-record-in-KV-Store-from-the/m-p/135158#M36946</guid>
      <dc:creator>jagadeeshm</dc:creator>
      <dc:date>2018-01-22T21:21:10Z</dc:date>
    </item>
  </channel>
</rss>

