Dashboards & Visualizations

50 Row Dashboard Limit

mcwomble
Path Finder

Is there anyway of increasing the row limit in the dashboard? I need to be able to create 50 rows.

Thanks

Tags (1)
0 Karma
1 Solution

thall79
Communicator

If you are building an advanced XML dashboard you can always add a paginator after the hidden search.

<module name="Paginator">
      <param name="count">50</param>
      <param name="entityName">results</param>
      <param name="maxPages">10</param>

Or if you want to be able to switch how many to display look at the module Count. When you use both Count and Paginator make sure to have Paginator as the descendent of Count. Here is an example:

 <module name="Count">
              <param name="options">
                <list>
                  <param name="text">10</param>
                  <param name="value">10</param>
                </list>
                <list>
                  <param name="text">20</param>
                  <param name="value">20</param>
                </list>
                <list>
                  <param name="text">50</param>
                  <param name="selected">True</param>
                  <param name="value">50</param>
                </list>
              </param>


  <module name="Paginator">
                    <param name="entityName">events</param>
                    <param name="maxPages">10</param>

travis.

View solution in original post

astewa35
New Member

modify: opt/splunk/share/splunk/search_mrsparkle/templates/view/dashboard.html

% for rowNumber in range(1,50):

<%call expr="parent.getFloatLayoutRow(modules, rowNumber)"></%call>

Change 50 to what ever number, in this case I choose 100 rows:

% for rowNumber in range(1,100):

<%call expr="parent.getFloatLayoutRow(modules, rowNumber)"></%call>

0 Karma

thall79
Communicator

If you are building an advanced XML dashboard you can always add a paginator after the hidden search.

<module name="Paginator">
      <param name="count">50</param>
      <param name="entityName">results</param>
      <param name="maxPages">10</param>

Or if you want to be able to switch how many to display look at the module Count. When you use both Count and Paginator make sure to have Paginator as the descendent of Count. Here is an example:

 <module name="Count">
              <param name="options">
                <list>
                  <param name="text">10</param>
                  <param name="value">10</param>
                </list>
                <list>
                  <param name="text">20</param>
                  <param name="value">20</param>
                </list>
                <list>
                  <param name="text">50</param>
                  <param name="selected">True</param>
                  <param name="value">50</param>
                </list>
              </param>


  <module name="Paginator">
                    <param name="entityName">events</param>
                    <param name="maxPages">10</param>

travis.

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...