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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...