Knowledge Management

How to get kvstore values with the command rest?

pbalbasm
Path Finder

Hi all,

I'm currently retrieving lookups from another SH in this way:

| rest splunk_server=server_name splunk_server_group=* /services/search/jobs/export
 search=" | inputlookup my_lookup.csv" output_mode=csv

This produces 2 columns, splunk_server and value

The problem I'm facing is when I'm trying to do the same with a kvstore I'm not getting anything in the field value. Is it any way to retrieve the kvstore information in the same way?

Thanks in advance.

0 Karma

starcher
SplunkTrust
SplunkTrust
0 Karma

pbalbasm
Path Finder

Hi, thanks for the info! Could you provide a query in Splunk for this? Thanks in advance.

0 Karma
.conf21 Now Fully Virtual!
Register for FREE Today!

We've made .conf21 totally virtual and totally FREE! Our completely online experience will run from 10/19 through 10/20 with some additional events, too!