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!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

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 ...

Building Momentum: Splunk Developer Program at .conf25

At Splunk, developers are at the heart of innovation. That’s why this year at .conf25, we officially launched ...