<?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: 'stats' command: limit for values of field 'par_ID' reached. Some values may have been truncated or ignored. in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/stats-command-limit-for-values-of-field-par-ID-reached-Some/m-p/194481#M56053</link>
    <description>&lt;P&gt;thanks for the help somesoni2.&lt;BR /&gt;
I have more than 2 variable to show in result.As I am using  count command for one variable, i can't write it for another variable in same query. Please help&lt;/P&gt;</description>
    <pubDate>Mon, 06 Jan 2014 05:02:31 GMT</pubDate>
    <dc:creator>harshal_chakran</dc:creator>
    <dc:date>2014-01-06T05:02:31Z</dc:date>
    <item>
      <title>'stats' command: limit for values of field 'par_ID' reached. Some values may have been truncated or ignored.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/stats-command-limit-for-values-of-field-par-ID-reached-Some/m-p/194479#M56051</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have a csv file where I list certain column field using the following search query:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;sourcetype=csv| rex field=_raw "(\d+,){2}(?&lt;BSC_ID&gt;\d+)"|stats list(par_ID) as pID&lt;/BSC_ID&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;As the file is very big, the events come to be around 600,000. But in stats list field I can see only limited values(i.e.100), and the remaining got truncated. The warning which I can see in job button is:&lt;BR /&gt;
&lt;IMG src="http://answers.splunk.com//storage/Capture_7.jpg" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;Is it a limitation of "stats list" command that only 100 values are shown?How can I see all the values in the list??&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:34:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/stats-command-limit-for-values-of-field-par-ID-reached-Some/m-p/194479#M56051</guid>
      <dc:creator>harshal_chakran</dc:creator>
      <dc:date>2020-09-28T15:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: 'stats' command: limit for values of field 'par_ID' reached. Some values may have been truncated or ignored.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/stats-command-limit-for-values-of-field-par-ID-reached-Some/m-p/194480#M56052</link>
      <description>&lt;P&gt;The command "|stats list(par_ID) as pID" will give all the values for the par_ID field into one single field pID and as your said the no of values could go upto 600,000, which is definitely exceeds the limit of data can be displayed in the single field (1000 bytes).&lt;/P&gt;

&lt;P&gt;If you are interested in just listing down the all distinct values for the field par_ID, then I would suggest to use "|stats count by parID | field - count | rename par_ID as pID".&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:34:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/stats-command-limit-for-values-of-field-par-ID-reached-Some/m-p/194480#M56052</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2020-09-28T15:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: 'stats' command: limit for values of field 'par_ID' reached. Some values may have been truncated or ignored.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/stats-command-limit-for-values-of-field-par-ID-reached-Some/m-p/194481#M56053</link>
      <description>&lt;P&gt;thanks for the help somesoni2.&lt;BR /&gt;
I have more than 2 variable to show in result.As I am using  count command for one variable, i can't write it for another variable in same query. Please help&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2014 05:02:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/stats-command-limit-for-values-of-field-par-ID-reached-Some/m-p/194481#M56053</guid>
      <dc:creator>harshal_chakran</dc:creator>
      <dc:date>2014-01-06T05:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: 'stats' command: limit for values of field 'par_ID' reached. Some values may have been truncated or ignored.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/stats-command-limit-for-values-of-field-par-ID-reached-Some/m-p/194482#M56054</link>
      <description>&lt;P&gt;using "stat values" did the magic!!!&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2014 10:38:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/stats-command-limit-for-values-of-field-par-ID-reached-Some/m-p/194482#M56054</guid>
      <dc:creator>harshal_chakran</dc:creator>
      <dc:date>2014-01-06T10:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: 'stats' command: limit for values of field 'par_ID' reached. Some values may have been truncated or ignored.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/stats-command-limit-for-values-of-field-par-ID-reached-Some/m-p/194483#M56055</link>
      <description>&lt;P&gt;values solved this issue for me as well.  values removes duplicate values and sorts the data, so this should be kept in mind when considered this approach.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Aug 2014 17:22:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/stats-command-limit-for-values-of-field-par-ID-reached-Some/m-p/194483#M56055</guid>
      <dc:creator>landen99</dc:creator>
      <dc:date>2014-08-25T17:22:32Z</dc:date>
    </item>
  </channel>
</rss>

