Knowledge Management

How to configure KV Store security in Postman?

organus
Explorer

I'm trying to perform a preliminary connection to my KV Store collection through the API using the server/introspection/kvstore/collectionstats endpoint using the third party Postman application on a Mac.

I have established a user that I have used successfully in a java application, but I am having trouble adapting the curl example at http://docs.splunk.com/Documentation/Splunk/7.0.1/RESTREF/RESTintrospect#server.2Fintrospection.2Fkv... to make this happen.

Does anyone have experience creating a KV Store connection using a request in Postman?

Thanks

0 Karma

niketnilay
Legend

@organus, I have used Postman to POST data to Splunk via HTTP Event Collector. The same is documented on my Splunk Wiki Talk page Topic 5: HTTP Event Collector (HEC) in Windows using cURL with Postman

The curl command available in Splunk Dev Site http://dev.splunk.com/view/event-collector/SP-CAAAE7F is translated to POSTMAN. See if this helps you adjust curl POST request as per your needs.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

organus
Explorer

@niketnilay, thanks for the comment, but unfortunately, I'm trying to update a specific KV Store collection in which we're storing defined metadata. I'm using the Java API to do it, and I was trying to run some simple tests using Postman. I haven't had luck, so far, with Postman, though. I found this reference, but I haven't had time to pursue it: https://stackoverflow.com/questions/28529379/how-to-stimulate-curl-request-to-a-request-using-postma...

0 Karma