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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...