Dashboards & Visualizations

How to enable caching of dashboard panels?

dhavamanis
Builder

We have multiple charts in a dashboard and its taking long time to update the panels. but we want to use some caching to show the previously viewed/created charts instead of re-generating the data. Can you please tell us how to enable the cache to avoid this slowness / re-generation.

Update :

We are using pivot table to build the dashboard. can you please tell us how can we achieve in this case.

Tags (3)
0 Karma
1 Solution

laserval
Communicator

Check if you can accelerate your data model. This means that some parts of the search will be pre-computed and stored, so the search that builds the dashboard panel will be faster.

See http://docs.splunk.com/Splexicon:Datamodelacceleration and http://docs.splunk.com/Documentation/Splunk/6.2.3/Knowledge/Acceleratedatamodels#Enable_persistent_a...

View solution in original post

laserval
Communicator

Check if you can accelerate your data model. This means that some parts of the search will be pre-computed and stored, so the search that builds the dashboard panel will be faster.

See http://docs.splunk.com/Splexicon:Datamodelacceleration and http://docs.splunk.com/Documentation/Splunk/6.2.3/Knowledge/Acceleratedatamodels#Enable_persistent_a...

linu1988
Champion

Hello,
This is pretty easy. Use the saved searches. Schedule them for particular or desired period. Use the pre-run data over and over without triggering a new search for multiple users.

Thanks,
L

dhavamanis
Builder

Thanks, We are using pivot table to build the dashboard. can you please tell us how can we achieve in this case.

0 Karma

splunk_mkhan
Explorer

I am looking for same, But I am still not clear how to achieve this. I am new splunk user. Please help me to cache dashboard(avoid to load data every time when we open dashboard) in splunk6.2(trial version).
Thanks,
yusuf

0 Karma

linu1988
Champion

There is no parameter which we can use in splunk 6 dashbaord. So as a workaround just replace the |loadjob command instead of search string.

->Create the savedsearch and schedule them to run at your desired interval
-> Create the dashbaord.
-> Replace the search with | loadjob savedsearch="User:search:SavedSearch_name"

User: the user which owns the savedsearch
SavedSearch_name : this will be savedsearch name

dhavamanis
Builder

Can you please provide the steps, seems i could see the option to schedule a PDF from dashboard link.

0 Karma
Get Updates on the Splunk Community!

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...

[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 ...

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...