Dashboards & Visualizations

How can i modify flashtimeline so that i can show more then 50 results?

Genti
Splunk Employee
Splunk Employee

Flash timeline only shows 10, 20 or 50 results per page.
What if i wanted to show 500 results per page?
How can i modify flashtimeline so that i see as many results per page as i want?

Tags (2)
1 Solution

Genti
Splunk Employee
Splunk Employee

This was asked by caffisimo here
I thought it would be better having a totally new answer for it.

The easiest way i have found is to edit flashtimeline.xml, find and change the following:

          <module name="Count" layoutPanel="pageControls">
            <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>

You can either add one more <list> with the necessary <param name> and have it go to 500 or modify one of the above ones.
Something like:

          <list>
            <param name="text">500</param>
            <param name="selected">True</param>
            <param name="value">500</param>
          </list>

Should do the trick.

Hope this helps,
.gz

PS. make sure you make a backup of the flashtimeline.xml file before trying to edit the file.

View solution in original post

Genti
Splunk Employee
Splunk Employee

This was asked by caffisimo here
I thought it would be better having a totally new answer for it.

The easiest way i have found is to edit flashtimeline.xml, find and change the following:

          <module name="Count" layoutPanel="pageControls">
            <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>

You can either add one more <list> with the necessary <param name> and have it go to 500 or modify one of the above ones.
Something like:

          <list>
            <param name="text">500</param>
            <param name="selected">True</param>
            <param name="value">500</param>
          </list>

Should do the trick.

Hope this helps,
.gz

PS. make sure you make a backup of the flashtimeline.xml file before trying to edit the file.

View solution in original post

.conf21 Now Fully Virtual!
Register for FREE Today!

We've made .conf21 totally virtual and totally FREE! Our completely online experience will run from 10/19 through 10/20 with some additional events, too!