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!

Agent Mode Engaged! Enchaining Agentic Operations with Splunk AI Assistant 2.0

    Are you ready to transform how your team handles complex data requests? We invite you to our upcoming ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...