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.

Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...