Dashboards & Visualizations

Configuring report to be landscape

jwhughes58
Contributor

I have a dashboard that I use when checking if a server is compliant.  It looks normal in the dashboard but when I export it as a PDF the last column gets moved to a new page.  I found this in ./etc/system/bin/pdfgen_endpoint.py

DEFAULT_PAPER_ORIENTATION = 'portrait'

What I can't find is a way of overriding the default to change it to landscape.  Does such a file exist?  If not, beyond changing the code, any ideas on how to get a landscape report so the final column will be on the same page?

TIA

Joe

Labels (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

I would change the code since I know I have to maintain any future updates to that file myself and that it might break how other reports display in a PDF.

I would also check out the "betterpdf" app in splunkbase (https://splunkbase.splunk.com/app/7171).

---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

I would change the code since I know I have to maintain any future updates to that file myself and that it might break how other reports display in a PDF.

I would also check out the "betterpdf" app in splunkbase (https://splunkbase.splunk.com/app/7171).

---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

Your Voice Matters! Help Us Shape the New Splunk Lantern Experience

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

September Community Champions: A Shoutout to Our Contributors!

As we close the books on another fantastic month, we want to take a moment to celebrate the people who are the ...

Community Content Calendar, October Edition

Welcome to the October edition of our Community Spotlight! The Splunk Community is a treasure trove of ...