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!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...