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!

New in Observability - Improvements to Custom Metrics SLOs, Log Observer Connect & ...

The latest enhancements to the Splunk observability portfolio deliver improved SLO management accuracy, better ...

Improve Data Pipelines Using Splunk Data Management

  Register Now   This Tech Talk will explore the pipeline management offerings Edge Processor and Ingest ...

3-2-1 Go! How Fast Can You Debug Microservices with Observability Cloud?

Register Join this Tech Talk to learn how unique features like Service Centric Views, Tag Spotlight, and ...