Reporting

Dashboard still not finished in PDF report

gljiva
Path Finder

Hi, I have a dashboard with several charts that take some time to finish (like 2-4mins) and when scheduling them for PDF delivery i get PDF files for which screenshots were taken before dashboard finished loading.
I have tried extending necessary timeouts in following files:
pdf_server.conf

firefox_timeout = 660  

pdf_handler.py

DEFAULT_TIMEOUT = 11*60
HARD_TIMEOUT_DELAY = 3*60  

Even after setting 11 minute timeout PDF still sometimes does not finish in time?! Is there a way to pass argument to firefox only to print to pdf after XX minutes have passed? It seems that PDF is created sooner than timeout is reached.
Note: I have opened dashboard in my browser many times and it never takes more than few minutes.
What are recommended optimizations for efficient pdf reporting?

Tags (2)

the_wolverine
Champion

I'm encountering the same issue and my queries are summary optimized. Further, the queries are prescheduled and the PDF Report is not loading two of the panels. The panels that are not loading are extra long -- contains 100's to over 1000 lines. It appears that PDF snapshot is not waiting for the entire dashboard to load before it captures the image.

When I manually load the dashboard it takes about 20 seconds to load, so not too long. Is there some setting that tells PDF snapshot to wait X time before capturing?

0 Karma

williamche
Path Finder

Just out of curiosity, would scheduling the individual queries in the dashboard to automatically run, say, 6 minutes before the dashboard's scheduled time help with this? So, in theory, when the dashboard job is kicked of, it'd just grab the the cached query results.

Another work around is to optimize the individual queries in the dashboard by utilizing the summary index.

Hope this helps.

-w

Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

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

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...