Reporting

PDF rendering of dashboards cuts off some panels

raoul
Path Finder

We have recently started using the PDF Server component in Splunk.

The issue we have is that the PDF output doesn't appear to handle page sizing correctly and the result is that the edges of our graph panels are often clipped.

So, a dashboard that has a number of panels:

  • Usually has the right hand edge of all of the panels clipped off
  • Prints only on one page and abruptly clips panels at the bottom of the dashboard

Is there some special layout one should be using for dashboards intended to by rendered via PDF? Obviously the normal browser display elegantly handles different screen conformations but the PDF server does not appear to do this.

Tags (1)
1 Solution

ChrisG
Splunk Employee
Splunk Employee

Here's a link to a relatively new docs topic on troubleshooting PDF printing:

http://docs.splunk.com/Documentation/Splunk/4.3/Troubleshooting/PDFTS

There is some guidance in there about page and dashboard layouts that might help.

View solution in original post

rmjenson
Engager

In my environment I used the HiddenChartFormatter parameter charting.layout.margin to solve the right hand edge clipping of the chart.

        <module name="HiddenChartFormatter">
          <param name="charting.chart.stackMode">stacked</param>
          <param name="charting.legend.placement">bottom</param>
          <param name="charting.chart">bar</param>
          <param name="charting.layout.margin">(0,125,10,0)</param>
                             .
                             .
                             .

Where the numeric values set the left, right, top, and botom margin of the chart in the panel.

http://docs.splunk.com/Documentation/Splunk/latest/Developer/AdvChartingConfig-LayoutData

0 Karma

ChrisG
Splunk Employee
Splunk Employee

Here's a link to a relatively new docs topic on troubleshooting PDF printing:

http://docs.splunk.com/Documentation/Splunk/4.3/Troubleshooting/PDFTS

There is some guidance in there about page and dashboard layouts that might help.

Get Updates on the Splunk Community!

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Dashboard Challenge and Watch the .conf24 Global Broadcast!

The Splunk Community Dashboard Challenge is still happening, and it's not too late to enter for the week of ...