Getting Data In

Rest call for KV Store

spyme72
Path Finder

I am new to KV store,
I am trying to delete a key from the key value store using the rest call in splunk search window.
I am able to access my KV store from search bar using the following search command.

| rest /servicesNS/nobody/Monsanto-Monitoring-SelfService/storage/collections/config/windows_perfmon

but i am not sure how to use the GET POST and DELETE methods.

i tried the following searches but i was not sucessful,

| rest /servicesNS/nobody/Monsanto-Monitoring-SelfService/collections/data/windows_perfmon/549c692b6dfa175b773a2736 GET
| rest /servicesNS/nobody/Monsanto-Monitoring-SelfService/collections/data/windows_perfmon/549c692b6dfa175b773a2736 DELETE

please let me know the right way to call these rest api.

Tags (3)
0 Karma

martin_mueller
SplunkTrust
SplunkTrust

The rest command in the search bar can only submit GET requests. Use any HTTP client you like, for example curl or your programming language of choice, to submit other requests.

Get Updates on the Splunk Community!

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...