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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...