<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Why does PDF generation with custom logo for alerts fail? in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Why-does-PDF-generation-with-custom-logo-for-alerts-fail/m-p/272853#M4998</link>
    <description>&lt;P&gt;Cause:&lt;BR /&gt;
This appears to be a defect with the PDF generator's handling of folders.&lt;BR /&gt;
Splunk bug reference = SPL-136094&lt;/P&gt;

&lt;P&gt;Workaround:&lt;BR /&gt;
When I put images here; &lt;BR /&gt;
/opt/splunk6.5.0/etc/apps/search/appserver/static/ &lt;BR /&gt;
Result = Working fine with my image. &lt;/P&gt;

&lt;P&gt;When I put images here; &lt;BR /&gt;
/opt/splunk6.5.0/etc/apps/search/appserver/static/myfolder &lt;BR /&gt;
Result = PDF generation breaks with error of the form; &lt;BR /&gt;
"pdfrenderer:427 - Failed to retrieve customize logo error [Errno 2] No such file or directory:" &lt;/P&gt;</description>
    <pubDate>Wed, 01 Feb 2017 16:17:14 GMT</pubDate>
    <dc:creator>bohanlon_splunk</dc:creator>
    <dc:date>2017-02-01T16:17:14Z</dc:date>
    <item>
      <title>Why does PDF generation with custom logo for alerts fail?</title>
      <link>https://community.splunk.com/t5/Alerting/Why-does-PDF-generation-with-custom-logo-for-alerts-fail/m-p/272852#M4997</link>
      <description>&lt;P&gt;I have set a custom image/logo for my generated alerts.&lt;/P&gt;

&lt;P&gt;My Setup:&lt;BR /&gt;
OS=CentOS07&lt;BR /&gt;
Splunk=6.5.0&lt;BR /&gt;
Architecture=Standalone instance (SH and IDXer in one box)&lt;BR /&gt;
$SPLUNK_HOME=/opt/splunk6.5.0&lt;/P&gt;

&lt;P&gt;My Config&lt;BR /&gt;
 ./etc/system/local/alert_actions.conf&lt;BR /&gt;
[email]&lt;BR /&gt;
mailserver = mymailserver&lt;BR /&gt;
pdf.header_left = logo&lt;BR /&gt;
pdf.header_right = none&lt;BR /&gt;
pdf.logo_path = search:myfolder/image001&lt;BR /&gt;
pdf.html_image_rendering = 0&lt;/P&gt;

&lt;P&gt;I have put my custom image here:&lt;BR /&gt;
/opt/splunk6.5.0/etc/apps/search/appserver/static/myfolder/image001.png&lt;/P&gt;

&lt;P&gt;PDF generation is broken with error of this form in $SPLUNK_HOME/var/log/splunk/pdfgen.log; &lt;BR /&gt;
"pdfrenderer:427 - Failed to retrieve customize logo error [Errno 2] No such file or directory:"&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:41:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Why-does-PDF-generation-with-custom-logo-for-alerts-fail/m-p/272852#M4997</guid>
      <dc:creator>bohanlon_splunk</dc:creator>
      <dc:date>2020-09-29T12:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: Why does PDF generation with custom logo for alerts fail?</title>
      <link>https://community.splunk.com/t5/Alerting/Why-does-PDF-generation-with-custom-logo-for-alerts-fail/m-p/272853#M4998</link>
      <description>&lt;P&gt;Cause:&lt;BR /&gt;
This appears to be a defect with the PDF generator's handling of folders.&lt;BR /&gt;
Splunk bug reference = SPL-136094&lt;/P&gt;

&lt;P&gt;Workaround:&lt;BR /&gt;
When I put images here; &lt;BR /&gt;
/opt/splunk6.5.0/etc/apps/search/appserver/static/ &lt;BR /&gt;
Result = Working fine with my image. &lt;/P&gt;

&lt;P&gt;When I put images here; &lt;BR /&gt;
/opt/splunk6.5.0/etc/apps/search/appserver/static/myfolder &lt;BR /&gt;
Result = PDF generation breaks with error of the form; &lt;BR /&gt;
"pdfrenderer:427 - Failed to retrieve customize logo error [Errno 2] No such file or directory:" &lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2017 16:17:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Why-does-PDF-generation-with-custom-logo-for-alerts-fail/m-p/272853#M4998</guid>
      <dc:creator>bohanlon_splunk</dc:creator>
      <dc:date>2017-02-01T16:17:14Z</dc:date>
    </item>
  </channel>
</rss>

