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!

Recap | Agentic Operations Start with Context: Build the Right Data Foundation

Agentic Operations Start with Context: Build the Right Data Foundation   By Courtney Wright, Product Marketing ...

Recap | Assisted, Augmented or Agentic? Choose Your Splunk Starting Point

Assisted, Augmented or Agentic? Choose Your Splunk Starting Point   By Courtney Wright, Product Marketing ...

Session 2 | Beyond the Thread: Operationalizing AI with Confidence

Session 2   Beyond the Thread: Operationalizing AI with Confidence    The true power of the Cisco Data Fabric ...