<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to retrieve distinct field values from KV Store using REST API? in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/How-to-retrieve-distinct-field-values-from-KV-Store-using-REST/m-p/521238#M4740</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;Talking in SPL I would like to have this result:&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;|inputlookup mylookup |stats values(myfield)&lt;/LI-CODE&gt;
&lt;P&gt;(And I don't want to use the search endpoints a query a search job by REST API that does the SPL above : )&amp;nbsp; )&lt;/P&gt;
&lt;P&gt;Does anyone know if this is possible and how to do it?&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;RngFox&lt;/P&gt;</description>
    <pubDate>Tue, 06 Oct 2020 20:18:04 GMT</pubDate>
    <dc:creator>rngfox1</dc:creator>
    <dc:date>2020-10-06T20:18:04Z</dc:date>
    <item>
      <title>How to retrieve distinct field values from KV Store using REST API?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-retrieve-distinct-field-values-from-KV-Store-using-REST/m-p/521238#M4740</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;Talking in SPL I would like to have this result:&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;|inputlookup mylookup |stats values(myfield)&lt;/LI-CODE&gt;
&lt;P&gt;(And I don't want to use the search endpoints a query a search job by REST API that does the SPL above : )&amp;nbsp; )&lt;/P&gt;
&lt;P&gt;Does anyone know if this is possible and how to do it?&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;RngFox&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2020 20:18:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-retrieve-distinct-field-values-from-KV-Store-using-REST/m-p/521238#M4740</guid>
      <dc:creator>rngfox1</dc:creator>
      <dc:date>2020-10-06T20:18:04Z</dc:date>
    </item>
  </channel>
</rss>

