Knowledge Management

How to retrieve distinct field values from KV Store using REST API?

New Member


I have a collection in the KV Store that contains several 10,000's of documents. Each document has a specific field that is present in each of them - sometimes values are the same, sometimes different. I need to retrieve a list of all possible values by REST API.

Talking in SPL I would like to have this result: 

|inputlookup mylookup |stats values(myfield)

(And I don't want to use the search endpoints a query a search job by REST API that does the SPL above : )  )

Does anyone know if this is possible and how to do it?



Labels (1)
Tags (2)
0 Karma
Get Updates on the Splunk Community!

Registration for Splunk University is Now Open!

Are you ready for an adventure in learning?   Brace yourselves because Splunk University is back, and it's ...

Splunkbase | Splunk Dashboard Examples App for SimpleXML End of Life

The Splunk Dashboard Examples App for SimpleXML will reach end of support on Dec 19, 2024, after which no new ...

Understanding Generative AI Techniques and Their Application in Cybersecurity

Watch On-Demand Artificial intelligence is the talk of the town nowadays, with industries of all kinds ...