Reporting

PDF rendering leaves big gaps

watsm10
Communicator

Hi, I've got a pretty large dashboard which is split up into 4 sections. Each section looks like this:

1st Row : Title
2nd Row : Left - Single Value | Right - Single Value
3rd Row : Column chart
4th Row : Column chart

I can see that these will easily fit on one page, but everytime the PDF server renders the dashboard there is always a huge gap between the 3rd and 4th row, so the 4th row appears on the next page.

I've set the paper size to A3 portrait. I would also prefer not to split them up onto separate dashboards.

Can anyone suggest a way of inserting a page break, or a way of changing the margins on the PDF server?

0 Karma

tgeer123
Path Finder

Actually - if you are using the integrated- check out /lib/python2.7/site-packages/splunk/pdf/pdfrenderer.py

I changed the margins, and font size there, and you can probably do other things as well.

tgeer123
Path Finder

Are you using PDF server or the integrated PDF in SPLUNK 5/6?
If the integrated one I found this:
http://answers.splunk.com/answers/106550/can-i-change-the-margin-space-of-my-pdf

0 Karma
Get Updates on the Splunk Community!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...