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 November Tech Talks, Office Hours, and Webinars!

&#x1f342; Fall into November with a fresh lineup of Community Office Hours, Tech Talks, and Webinars we’ve ...

Transform your security operations with Splunk Enterprise Security

Hi Splunk Community, Splunk Platform has set a great foundation for your security operations. With the ...

Splunk Admins and App Developers | Earn a $35 gift card!

Splunk, in collaboration with ESG (Enterprise Strategy Group) by TechTarget, is excited to announce a ...