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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...