Email scheduler with custom report shows no data in PDF report.

Email scheduler with custom report shows no data in PDF report.

3801
Created On 12/06/22 01:55 AM - Last Modified 04/15/25 21:19 PM


Symptom


Email scheduler with custom report shows no data in PDF report.
pdfreport.PNG


Environment


  • PA-Series Next-Generation Firewall
  • PAN-OS 9.1
  • PDF reports


Cause


The settings for the target report has not been loaded correctly.
 


Resolution


  1. Check whether the following log related to target report generation is output to gen_pdf_reports.log.
  2. The log can be viewed using CLI command "less mp-log gen_pdf_reports.log"
  3. The output below can be found in the log file when the reports are displayed correctly.
Processing Email scheduler es1
[2022/11/23 06:19:04]
Finding report files using find '/opt/pancfg/mgmt/custom-reports/testpdf' -name "*20221122*"
[2022/11/23 06:19:06]
status = 0,php /usr/local/bin/staticpdfcreator.php '/opt/pancfg/mgmt/custom-reports/testpdf/86400s-ending-20221122.xml' '/tmp/pdf-email-schedulerv4Oc5o/2-onepage.pdf' <<<<<<<<
  1. If the "status = 0,php /usr/local/bin/staticpdfcreator.php ." in the log file is not displaying the name of pdf file as shown above, try using 'commit force' once.
> configure
# commit force
# exit
  1. If the scheduled report is still not seen, open a case with Support.
 


Additional Information


Generate Custom Reports
Schedule reports for email delivery


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA14u000000sa34CAA&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail