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!

Admin Your Splunk Cloud, Your Way

Join us to maximize different techniques to best tune Splunk Cloud. In this Tech Enablement, you will get ...

Cloud Platform | Discontinuing support for TLS version 1.0 and 1.1

Overview Transport Layer Security (TLS) is a security communications protocol that lets two computers, ...

New Customer Testimonials

Enterprises of all sizes and across different industries are accelerating cloud adoption by migrating ...