<?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 to assign field name as primary key in kvstore lookup table in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-assign-field-name-as-primary-key-in-kvstore-lookup-table/m-p/237853#M70651</link>
    <description>&lt;P&gt;I need to insert some records to lookup table and make sure that the lookup table should not allow the duplicate insertion&lt;BR /&gt;
I'm using service.request POST REST call to insert the records to the collection via Splunk HTML view.&lt;/P&gt;

&lt;P&gt;NOTE: I don't want to use "dedup" to display, because I need to avoid insert if the lookup table has another record.&lt;/P&gt;

&lt;P&gt;Please help !&lt;/P&gt;</description>
    <pubDate>Wed, 23 Sep 2015 06:24:27 GMT</pubDate>
    <dc:creator>hemalalli</dc:creator>
    <dc:date>2015-09-23T06:24:27Z</dc:date>
    <item>
      <title>How to assign field name as primary key in kvstore lookup table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-assign-field-name-as-primary-key-in-kvstore-lookup-table/m-p/237853#M70651</link>
      <description>&lt;P&gt;I need to insert some records to lookup table and make sure that the lookup table should not allow the duplicate insertion&lt;BR /&gt;
I'm using service.request POST REST call to insert the records to the collection via Splunk HTML view.&lt;/P&gt;

&lt;P&gt;NOTE: I don't want to use "dedup" to display, because I need to avoid insert if the lookup table has another record.&lt;/P&gt;

&lt;P&gt;Please help !&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2015 06:24:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-assign-field-name-as-primary-key-in-kvstore-lookup-table/m-p/237853#M70651</guid>
      <dc:creator>hemalalli</dc:creator>
      <dc:date>2015-09-23T06:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to assign field name as primary key in kvstore lookup table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-assign-field-name-as-primary-key-in-kvstore-lookup-table/m-p/237854#M70652</link>
      <description>&lt;P&gt;I have implemented the workaround to avoid duplication while inserting to the KV store collection &lt;/P&gt;

&lt;P&gt;Once the fields are entered in the splunk view, I'm running the search query and getting the key(_key) if the fields are matching in the KV store collection, if the key is available then I'm popping up the messaging saying "Record already exist", otherwise I'm inserting the record.&lt;/P&gt;

&lt;P&gt;Thanks and Regards,&lt;BR /&gt;
Hema&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2015 05:45:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-assign-field-name-as-primary-key-in-kvstore-lookup-table/m-p/237854#M70652</guid>
      <dc:creator>hemalalli</dc:creator>
      <dc:date>2015-10-19T05:45:22Z</dc:date>
    </item>
  </channel>
</rss>

