<?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 Dashboard Tables: Limiting the number of displayed rows in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-Tables-Limiting-the-number-of-displayed-rows/m-p/37375#M1708</link>
    <description>&lt;P&gt;I am having an issue with some of the table options. I’d like to limit the table to 10 rows and then allow pagination. Here are my commands (simple xml):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&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;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;While the pagination seems to be working, the count option doesn’t work at all – it defaults to displaying however many rows I had displayed in my saved search (ie, 50) and only does pagination after this point. Are my commands wrong, or is something else the problem? Any ideas?&lt;/P&gt;</description>
    <pubDate>Thu, 30 Jun 2011 21:07:56 GMT</pubDate>
    <dc:creator>egerner</dc:creator>
    <dc:date>2011-06-30T21:07:56Z</dc:date>
    <item>
      <title>Dashboard Tables: Limiting the number of displayed rows</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-Tables-Limiting-the-number-of-displayed-rows/m-p/37375#M1708</link>
      <description>&lt;P&gt;I am having an issue with some of the table options. I’d like to limit the table to 10 rows and then allow pagination. Here are my commands (simple xml):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&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;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;While the pagination seems to be working, the count option doesn’t work at all – it defaults to displaying however many rows I had displayed in my saved search (ie, 50) and only does pagination after this point. Are my commands wrong, or is something else the problem? Any ideas?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2011 21:07:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-Tables-Limiting-the-number-of-displayed-rows/m-p/37375#M1708</guid>
      <dc:creator>egerner</dc:creator>
      <dc:date>2011-06-30T21:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard Tables: Limiting the number of displayed rows</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-Tables-Limiting-the-number-of-displayed-rows/m-p/37376#M1709</link>
      <description>&lt;P&gt;What is your search that renders the table?  I've never experienced this, but my searches tend to be something like "... | table field1, field2".  Are you using the table command or something else?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2011 23:54:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-Tables-Limiting-the-number-of-displayed-rows/m-p/37376#M1709</guid>
      <dc:creator>mw</dc:creator>
      <dc:date>2011-06-30T23:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard Tables: Limiting the number of displayed rows</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-Tables-Limiting-the-number-of-displayed-rows/m-p/37377#M1710</link>
      <description>&lt;P&gt;Emily, you're right.  The count option has no effect.  The showPager option does.  See if this workaround works for you:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;in the flash timeline view, set 'Results per page' to 10&lt;/LI&gt;
&lt;LI&gt;save your search as a new search (this associates a new viewstate with the paginator count as 10)&lt;/LI&gt;
&lt;LI&gt;use the new saved search in your dashboard.&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;Alternatively, you (or your Splunk Admin) can correct the viewstate:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;find the viewstate id associated with the saved search in savedsearches.conf  (e.g. vsid=gp902hc2)&lt;/LI&gt;
&lt;LI&gt;find the viewstate using the vsid in viewstates.conf.&lt;/LI&gt;
&lt;LI&gt;edit the &lt;CODE&gt;Count_#_#_#.default&lt;/CODE&gt;, &lt;CODE&gt;MaxLines_#_#_#.default&lt;/CODE&gt;, &lt;CODE&gt;MaxLines_#_#_#.maxLines&lt;/CODE&gt; variables.&lt;/LI&gt;
&lt;LI&gt;restart Splunk.&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;This is a bug, which I will file on your behalf.  Thank you for bringing this to our attention.  &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2011 20:09:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-Tables-Limiting-the-number-of-displayed-rows/m-p/37377#M1710</guid>
      <dc:creator>hulahoop</dc:creator>
      <dc:date>2011-07-01T20:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard Tables: Limiting the number of displayed rows</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-Tables-Limiting-the-number-of-displayed-rows/m-p/37378#M1711</link>
      <description>&lt;P&gt;This is being tracked as SPL-32968. The problem is regarding applying viewstate. When a search is saved, a copy of the current view state is made and stored in $SPLUNK_HOME/etc/users/admin/search/local/viewstates.conf.  When the search is loaded, the configuration that is last applied is the viewstate and this is clobbering the XML defined "count" option.&lt;/P&gt;

&lt;P&gt;This is going to be fixed in 4.2.3, for anyone who is interested. &lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2011 18:02:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-Tables-Limiting-the-number-of-displayed-rows/m-p/37378#M1711</guid>
      <dc:creator>jbsplunk</dc:creator>
      <dc:date>2011-07-22T18:02:29Z</dc:date>
    </item>
  </channel>
</rss>

