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!

Think Like an Architect: Introducing the Splunk Certified Cybersecurity Defense ...

In cybersecurity, defenders respond to threats. Architects design the systems that stop them.    As ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...

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 ...