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!

Troubleshooting the OpenTelemetry Collector

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

Adoption of Infrastructure Monitoring at Splunk

  Splunk's Growth Engineering team showcases one of their first Splunk product adoption-Splunk Infrastructure ...

Modern way of developing distributed application using OTel

Recently, I had the opportunity to work on a complex microservice using Spring boot and Quarkus to develop a ...