<?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: kvstore with custom key fields in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/kvstore-with-custom-key-fields/m-p/432553#M123596</link>
    <description>&lt;P&gt;You can set _key to whatever value you want. Such as the username value. Use eval _key=... before your outputlookup append=true&lt;/P&gt;</description>
    <pubDate>Fri, 15 Mar 2019 09:29:13 GMT</pubDate>
    <dc:creator>starcher</dc:creator>
    <dc:date>2019-03-15T09:29:13Z</dc:date>
    <item>
      <title>kvstore with custom key fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/kvstore-with-custom-key-fields/m-p/432552#M123595</link>
      <description>&lt;P&gt;Can I define a custom key field in a kvstore?&lt;/P&gt;

&lt;P&gt;I've created the kvstore with following configuration:&lt;BR /&gt;
_key, targetUser, action, time&lt;BR /&gt;
(the action will be add or remove)&lt;/P&gt;

&lt;P&gt;If the following entry exists: bob, add, 1552602818 &lt;BR /&gt;
And I will add to kvstore the entry "bob, remove, 1552603818", action and time fields should be updated, rather than creating new entry&lt;BR /&gt;
If targetUser is different (not existing in the kvstore) entry should be added.&lt;/P&gt;

&lt;P&gt;Is this possible? I will need to populate the kvstore as events arrive using a scheduled search.&lt;/P&gt;

&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2019 22:40:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/kvstore-with-custom-key-fields/m-p/432552#M123595</guid>
      <dc:creator>hoytn</dc:creator>
      <dc:date>2019-03-14T22:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: kvstore with custom key fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/kvstore-with-custom-key-fields/m-p/432553#M123596</link>
      <description>&lt;P&gt;You can set _key to whatever value you want. Such as the username value. Use eval _key=... before your outputlookup append=true&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2019 09:29:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/kvstore-with-custom-key-fields/m-p/432553#M123596</guid>
      <dc:creator>starcher</dc:creator>
      <dc:date>2019-03-15T09:29:13Z</dc:date>
    </item>
  </channel>
</rss>

