Splunk Enterprise Security

What is the command to check KVStore status?

halleyglen
Explorer

Facing issues with KVStore on Enterprise Security. Dashboards show an error "Unable to load results". Is there any command to check KVStore status?

1 Solution

rcreddy06
Path Finder

use the following command on nix systems, which should return **ready/starting/failed/disabled*

curl -k -s https://localhost:8089/services/server/info | grep kvstore

View solution in original post

Sandeepghildi
Engager

"splunk show kvstore-status"

sahiltcs
Path Finder

No, Actually I need to check the status of output of that particular command , Like other application if we click command rating we can see the complete details like output of command , source etc.

Here i click command i can see the events only

Any thoughts

0 Karma

vnguyen46
Contributor

I tried every possible commands, but no return:
curl -k -s https://localhost:8089/services/server/info | grep kvstore

0 Karma

rcreddy06
Path Finder

use the following command on nix systems, which should return **ready/starting/failed/disabled*

curl -k -s https://localhost:8089/services/server/info | grep kvstore

youngsuh
Contributor

Here is way to do it via SPL:

| rest splunk_server=local count=1 /services/server/info 
| table kvStoreStatus

halleyglen
Explorer

Its status is starting and I restarted the servers.. Its still starting. How long does it takes to change state?

0 Karma

nvonkorff
Path Finder

FYI - you may want to add -i to the grep, as the version I am using does not return anything with the above command, as the output from the curl is mixed case:

        <s:key name="kvStoreStatus">ready</s:key>

This works:
curl -k -s https://localhost:8089/services/server/info | grep -i kvstore

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...