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!

Rounding off the Splunk Dashboard Contest

What does a contest-winning Splunk dashboard look like? In this case, it isn't in a browser tab at all. It ...

A Four Part Event Series: AI + Observability: AI Agents, LLMs, Apps, & Infrastructure

AI &#43; Observability: AI Agents, LLMs, Apps, & Infrastructure The rapid evolution of artificial intelligence ...

Splunk Technical Support Is Moving to Cisco Support Tools

Introduction Splunk technical support is transitioning to Cisco’s support environment. This change brings ...