<?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: can't sort table results from a form search in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/can-t-sort-table-results-from-a-form-search/m-p/102819#M26563</link>
    <description>&lt;P&gt;this issue can be solved by using Sideview's module "Pager" , thanks Nick.&lt;/P&gt;</description>
    <pubDate>Mon, 07 Nov 2011 09:41:51 GMT</pubDate>
    <dc:creator>dmlee</dc:creator>
    <dc:date>2011-11-07T09:41:51Z</dc:date>
    <item>
      <title>can't sort table results from a form search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/can-t-sort-table-results-from-a-form-search/m-p/102818#M26562</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;

&lt;P&gt;I wrote a simple form search dashboard using &lt;CODE&gt;&amp;lt;table&amp;gt;&lt;/CODE&gt; module .&lt;/P&gt;

&lt;P&gt;I found if the number of results over 50,000 , when I click any label of table fields (for example : please refer to below source code , if I click the label said &lt;CODE&gt;s_Seq&lt;/CODE&gt; , table module will sort whole result base on the content of &lt;CODE&gt;s_Seq&lt;/CODE&gt; field) , the table won't sort results correctly , if the number of results is less then 50,000 , sort function works fine . &lt;/P&gt;

&lt;P&gt;anyone know why ? thanks.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;form&amp;gt;
    &amp;lt;fieldset&amp;gt;
        &amp;lt;input type="time" /&amp;gt;
    &amp;lt;/fieldset&amp;gt;
        &amp;lt;row&amp;gt;
            &amp;lt;table&amp;gt;
                &amp;lt;searchTemplate&amp;gt; sourcetype=abc Type=2 | where len(ProdId)&amp;amp;lt;10| dedup SeqNo | sort 0 SeqNo | delta SeqNo as diff | where diff&amp;amp;gt;1  | eval s_Seq=SeqNo-diff+1 | eval e_Seq=if(diff&amp;amp;gt;2,SeqNo-1,"")  | eval s_time=strftime(_time,"%Y/%m/%d %H:%M:%S.%3N") | eval lost=diff-1 &amp;lt;/searchTemplate&amp;gt;
                &amp;lt;option name="count"&amp;gt;10&amp;lt;/option&amp;gt;
                &amp;lt;option name="showPager"&amp;gt;true&amp;lt;/option&amp;gt;
                &amp;lt;fields&amp;gt;s_time, s_Seq, e_Seq, lost&amp;lt;/fields&amp;gt;
            &amp;lt;/table&amp;gt;
        &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 03 Nov 2011 09:24:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/can-t-sort-table-results-from-a-form-search/m-p/102818#M26562</guid>
      <dc:creator>dmlee</dc:creator>
      <dc:date>2011-11-03T09:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: can't sort table results from a form search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/can-t-sort-table-results-from-a-form-search/m-p/102819#M26563</link>
      <description>&lt;P&gt;this issue can be solved by using Sideview's module "Pager" , thanks Nick.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2011 09:41:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/can-t-sort-table-results-from-a-form-search/m-p/102819#M26563</guid>
      <dc:creator>dmlee</dc:creator>
      <dc:date>2011-11-07T09:41:51Z</dc:date>
    </item>
  </channel>
</rss>

