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 (2)
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!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

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

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...