<?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 Re: Retrieve all the values for a single field in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Retrieve-all-the-values-for-a-single-field/m-p/25946#M4944</link>
    <description>&lt;P&gt;Not really. If you want every possible value, Splunk has to actually look at every single event to be sure it has them all. The main things you can do to speed it up are to use "Fast Mode" rather than "Verbose" or "Smart", or to run the search from the command line. If you're on a version older than 5.0, use the "Advanced Charting" view rather than the regular timeline view. Beyond that, the most effective way to get this search faster is to use more indexers.&lt;/P&gt;</description>
    <pubDate>Sat, 09 Feb 2013 02:05:06 GMT</pubDate>
    <dc:creator>gkanapathy</dc:creator>
    <dc:date>2013-02-09T02:05:06Z</dc:date>
    <item>
      <title>Retrieve all the values for a single field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Retrieve-all-the-values-for-a-single-field/m-p/25944#M4942</link>
      <description>&lt;P&gt;I am looking for a fast way to retrieve all the values for a single field. I have been doing this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=my_index| top limit=1000 my_field
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;However, as I have many events, this search takes several seconds and is quite slow. I was wondering if there is a faster way to do this, or to speed it up?&lt;/P&gt;</description>
      <pubDate>Sat, 09 Feb 2013 00:42:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Retrieve-all-the-values-for-a-single-field/m-p/25944#M4942</guid>
      <dc:creator>cmak</dc:creator>
      <dc:date>2013-02-09T00:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve all the values for a single field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Retrieve-all-the-values-for-a-single-field/m-p/25945#M4943</link>
      <description>&lt;P&gt;I found a faster way that made it slightly faster&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=my_index| stats count by my_field
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Is there a better way?&lt;/P&gt;</description>
      <pubDate>Sat, 09 Feb 2013 00:54:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Retrieve-all-the-values-for-a-single-field/m-p/25945#M4943</guid>
      <dc:creator>cmak</dc:creator>
      <dc:date>2013-02-09T00:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve all the values for a single field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Retrieve-all-the-values-for-a-single-field/m-p/25946#M4944</link>
      <description>&lt;P&gt;Not really. If you want every possible value, Splunk has to actually look at every single event to be sure it has them all. The main things you can do to speed it up are to use "Fast Mode" rather than "Verbose" or "Smart", or to run the search from the command line. If you're on a version older than 5.0, use the "Advanced Charting" view rather than the regular timeline view. Beyond that, the most effective way to get this search faster is to use more indexers.&lt;/P&gt;</description>
      <pubDate>Sat, 09 Feb 2013 02:05:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Retrieve-all-the-values-for-a-single-field/m-p/25946#M4944</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2013-02-09T02:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve all the values for a single field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Retrieve-all-the-values-for-a-single-field/m-p/25947#M4945</link>
      <description>&lt;P&gt;Is there any way to specify it to make the search in fast mode using advanced XML with the Search module?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2013 17:47:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Retrieve-all-the-values-for-a-single-field/m-p/25947#M4945</guid>
      <dc:creator>cmak</dc:creator>
      <dc:date>2013-02-11T17:47:41Z</dc:date>
    </item>
  </channel>
</rss>

