<?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: Delete Specific Key from KVSTORE in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/Delete-Specific-Key-from-KVSTORE/m-p/423687#M3733</link>
    <description>&lt;P&gt;Update:&lt;/P&gt;

&lt;P&gt;The "failed" command in my above post should have worked. Although I tried it several times before posting here, today it worked.&lt;/P&gt;

&lt;P&gt;In my failed example is a double URL coded string. That is exactly how it should look when trying to delete the key. When I re-ran the command to output the key again I notice the key value it output was NOT double encoded.&lt;/P&gt;

&lt;P&gt;The single encoded string looked like this:&lt;/P&gt;

&lt;P&gt;myvalue_ttp%7Cttp-url%7Chttps%3A%2F%2Fus-api.mimecast.com%7CCUSX1X11&lt;/P&gt;

&lt;P&gt;Which I then URL encoded to: &lt;/P&gt;

&lt;P&gt;myvalue_ttp%257Cttp-url%257Chttps%253A%252F%252Fus-api.mimecast.com%257CCUSX1X11&lt;/P&gt;

&lt;P&gt;Hopefully if any of you run into this problem you can at least see the process I used and hopefully it will work for you the first time!&lt;/P&gt;</description>
    <pubDate>Thu, 25 Apr 2019 19:23:27 GMT</pubDate>
    <dc:creator>scoughlin1</dc:creator>
    <dc:date>2019-04-25T19:23:27Z</dc:date>
    <item>
      <title>Delete Specific Key from KVSTORE</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Delete-Specific-Key-from-KVSTORE/m-p/423686#M3732</link>
      <description>&lt;P&gt;I am using the Mimecast v3.1.1 App/Addon and Ia m am trying to delete a specific key the application inserts into the KVSTORE.&lt;/P&gt;

&lt;P&gt;The problem I am having is that the key is a pipe delimited series of values have have been URL encoded.&lt;/P&gt;

&lt;P&gt;I created my own entry allowing the KVSTORE to create the key for me and deleted it successfully using a curl command, but I cannot use the same command to delete the URL encoded key.&lt;/P&gt;

&lt;P&gt;This was successful&lt;BR /&gt;
curl -k -u admin: -X DELETE &lt;A href="https://x.x.x.x:8089/servicesNS/nobody/TA-mimecast-for-splunk/storage/collections/data/TA_mimecast_for_splunk_checkpointer/5cb9aa6813c57623c670dcd2"&gt;https://x.x.x.x:8089/servicesNS/nobody/TA-mimecast-for-splunk/storage/collections/data/TA_mimecast_for_splunk_checkpointer/5cb9aa6813c57623c670dcd2&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;This failed&lt;BR /&gt;
curl -k -u admin: -X DELETE &lt;A href="https://x.x.x.x:8089/servicesNS/nobody/TA-mimecast-for-splunk/storage/collections/data/TA_mimecast_for_splunk_checkpointer/myvalue_ttp%257Cttp-url%257Chttps%253A%252F%252Fus-api.mimecast.com%257CCUSX1X11"&gt;https://x.x.x.x:8089/servicesNS/nobody/TA-mimecast-for-splunk/storage/collections/data/TA_mimecast_for_splunk_checkpointer/myvalue_ttp%257Cttp-url%257Chttps%253A%252F%252Fus-api.mimecast.com%257CCUSX1X11&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;The error I receive is object not found. The actual key value was copy and pasted from the output of this command:&lt;/P&gt;

&lt;P&gt;curl -k -u admin: &lt;A href="https://127.0.0.1:8089/servicesNS/nobody/TA-mimecast-for-splunk/storage/collections/data/TA_mimecast_for_splunk_checkpointer/"&gt;https://127.0.0.1:8089/servicesNS/nobody/TA-mimecast-for-splunk/storage/collections/data/TA_mimecast_for_splunk_checkpointer/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2019 14:51:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Delete-Specific-Key-from-KVSTORE/m-p/423686#M3732</guid>
      <dc:creator>scoughlin1</dc:creator>
      <dc:date>2019-04-23T14:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Specific Key from KVSTORE</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Delete-Specific-Key-from-KVSTORE/m-p/423687#M3733</link>
      <description>&lt;P&gt;Update:&lt;/P&gt;

&lt;P&gt;The "failed" command in my above post should have worked. Although I tried it several times before posting here, today it worked.&lt;/P&gt;

&lt;P&gt;In my failed example is a double URL coded string. That is exactly how it should look when trying to delete the key. When I re-ran the command to output the key again I notice the key value it output was NOT double encoded.&lt;/P&gt;

&lt;P&gt;The single encoded string looked like this:&lt;/P&gt;

&lt;P&gt;myvalue_ttp%7Cttp-url%7Chttps%3A%2F%2Fus-api.mimecast.com%7CCUSX1X11&lt;/P&gt;

&lt;P&gt;Which I then URL encoded to: &lt;/P&gt;

&lt;P&gt;myvalue_ttp%257Cttp-url%257Chttps%253A%252F%252Fus-api.mimecast.com%257CCUSX1X11&lt;/P&gt;

&lt;P&gt;Hopefully if any of you run into this problem you can at least see the process I used and hopefully it will work for you the first time!&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2019 19:23:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Delete-Specific-Key-from-KVSTORE/m-p/423687#M3733</guid>
      <dc:creator>scoughlin1</dc:creator>
      <dc:date>2019-04-25T19:23:27Z</dc:date>
    </item>
  </channel>
</rss>

