Knowledge Management

Delete Specific Key from KVSTORE

scoughlin1
Path Finder

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.

The problem I am having is that the key is a pipe delimited series of values have have been URL encoded.

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.

This was successful
curl -k -u admin: -X DELETE https://x.x.x.x:8089/servicesNS/nobody/TA-mimecast-for-splunk/storage/collections/data/TA_mimecast_f...

This failed
curl -k -u admin: -X DELETE https://x.x.x.x:8089/servicesNS/nobody/TA-mimecast-for-splunk/storage/collections/data/TA_mimecast_f...

The error I receive is object not found. The actual key value was copy and pasted from the output of this command:

curl -k -u admin: https://127.0.0.1:8089/servicesNS/nobody/TA-mimecast-for-splunk/storage/collections/data/TA_mimecast...

0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...