Getting Data In

Creating a kvstore using API - kvstore not visible in Splunk

BernardEAI
Communicator

Hi. I'm trying to create a kvstore using this command (from this tutorial https://dev.splunk.com/enterprise/docs/developapps/manageknowledge/kvstore/usetherestapitomanagekv/ )

curl -k -u admin:<mypassword> \
    -d name=kvstorecoll \
     https://<myhost>/servicesNS/nobody/<myapp>/storage/collections/config

 The call goes through and I see a result in the console, however when I check in Splunk I do not see the kvstore I created. Is there anything special I need to be aware of here?

Thanks!

Tags (2)
0 Karma

thambisetty
SplunkTrust
SplunkTrust

can you open <myapp> and open search view if <myapp> has one. in the search view use below command to see

| inputlookup kvstorecoll


or open lookups under settings -> lookup definitions -> search for kvstorecoll ( don't forget to choose <myapp> in app context.

*you have not mentioned how you verified in Splunk web.*

————————————
If this helps, give a like below.
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...