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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...