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!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...