I get nothing but errors from this report. I suspect this is due to Splunk retiring the PDF generator as of 6.0, but that might not be it.
The email report error message states:
An error occurred while generating the PDF. Please see python.log for detail
Looking at the python log, I see:
2015-07-30 23:58:01,684 +0000 INFO sendemail:954 - sendemail pdfService = pdfgen
2015-07-30 23:58:01,684 +0000 INFO sendemail:1080 - sendemail:mail effectiveTime=1438300680
2015-07-30 23:58:02,078 +0000 INFO pdfgen_endpoint:386 - pdf time-of-report=1438300680.0
2015-07-30 23:58:02,092 +0000 ERROR pdfgen_endpoint:188 - Bailing out of Integrated PDF Generation. Exception raised while preparing to render "Untitled" to PDF. Row on line=3 specifies row grouping but has <panel> children, which is not allowed
Traceback (most recent call last):
File "/opt/splunk/etc/system/bin/pdfgen_endpoint.py", line 162, in initialize
sessionKey=self.sessionKey)
File "/opt/splunk/lib/python2.7/site-packages/splunk/pdf/pdfgen_views.py", line 150, in getDashboardTitleAndPanels
return getDashboardTitleAndPanelsFromXml(dashboard.data, namespace, owner, sessionKey)
File "/opt/splunk/lib/python2.7/site-packages/splunk/pdf/pdfgen_views.py", line 160, in getDashboardTitleAndPanelsFromXml
dashboard = createDashboardFromXml(et.fromstring(dashboardXml), sourceApp=namespace)
File "/opt/splunk/lib/python2.7/site-packages/splunk/models/view_escaping/fromdash.py", line 107, in createDashboardFromXml
dashboard.rows.append(createRowFromXml(rowNode, sourceApp))
File "/opt/splunk/lib/python2.7/site-packages/splunk/models/view_escaping/fromdash.py", line 278, in createRowFromXml
raise Exception(('Row on line=%s specifies row grouping but has children, which is not allowed') % rowNode.sourceline)
Exception: Row on line=3 specifies row grouping but has <panel> children, which is not allowed
2015-07-30 23:58:02,114 +0000 ERROR sendemail:965 - An error occurred while generating a PDF: Failed to fetch PDF (status = 400): Unable to render PDF.<br/><ul><li>Bailing out of Integrated PDF Generation. Exception raised while preparing to render "Untitled" to PDF. Row on line=3 specifies row grouping but has <panel> children, which is not allowed</li></ul>
I am wondering what the fix is for this. I'd love to get the report, don't care if its PDF format or not.
... View more