<?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 upload large json format data into kv-store? in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/How-to-upload-large-json-format-data-into-kv-store/m-p/606812#M8940</link>
    <description>&lt;P&gt;Hi, everyone,&lt;/P&gt;
&lt;P&gt;The customer shared one last JSON formatted file. there are more than 1000 records. Customers want it as a lookup. my thought process is saying that I should use the kV-store approach. but how can I upload a large amount of data into the kV store?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 25 Jul 2022 16:04:02 GMT</pubDate>
    <dc:creator>rashid47010</dc:creator>
    <dc:date>2022-07-25T16:04:02Z</dc:date>
    <item>
      <title>How to upload large json format data into kv-store?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-upload-large-json-format-data-into-kv-store/m-p/606812#M8940</link>
      <description>&lt;P&gt;Hi, everyone,&lt;/P&gt;
&lt;P&gt;The customer shared one last JSON formatted file. there are more than 1000 records. Customers want it as a lookup. my thought process is saying that I should use the kV-store approach. but how can I upload a large amount of data into the kV store?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2022 16:04:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-upload-large-json-format-data-into-kv-store/m-p/606812#M8940</guid>
      <dc:creator>rashid47010</dc:creator>
      <dc:date>2022-07-25T16:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to upload large json format data into kv-store?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-upload-large-json-format-data-into-kv-store/m-p/606908#M8945</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/149975"&gt;@rashid47010&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can store JSON data using KVStore REST API.&lt;/P&gt;&lt;P&gt;Please go through&amp;nbsp;&amp;nbsp;&lt;A href="https://dev.splunk.com/enterprise/docs/developapps/manageknowledge/kvstore/usetherestapitomanagekv" target="_blank"&gt;https://dev.splunk.com/enterprise/docs/developapps/manageknowledge/kvstore/usetherestapitomanagekv&lt;/A&gt;&amp;nbsp;and check the Run multiple save operations section.&lt;/P&gt;&lt;P&gt;I have tried the below JSON with my curl command. You can try it in a local machine and validate the data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;[{
	"id": "1",
	"name": "Splunk Sweden"
}, {
	"id": "2",
	"name": "Splunk Singapore"
}]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Curl&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl -k -u admin:admin123     https://localhost:8089/servicesNS/nobody/APP_NAME/storage/collections/data/KV_STORE_COLLECTION/batch_save     -H 'Content-Type: application/json'     -d 'VALID_JSON_DATA'&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My example Curl.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl -k -u admin:admin123     https://localhost:8089/servicesNS/nobody/search/storage/collections/data/kvstorecoll/batch_save     -H 'Content-Type: application/json'     -d '[{"id":"1","name": "Splunk Sweden"}, {"id":"2","name": "Splunk Singapore"}]'&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this will help you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;KV&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If any of my replies help you to solve the problem Or gain knowledge, an upvote would be appreciated.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2022 16:32:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-upload-large-json-format-data-into-kv-store/m-p/606908#M8945</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2022-07-25T16:32:32Z</dc:date>
    </item>
  </channel>
</rss>

