<?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: Strange behavior with alert, send email with PDF. in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Strange-behavior-with-alert-send-email-with-PDF/m-p/69836#M971</link>
    <description>&lt;P&gt;It seems like there might be a problem, with the Splunk-Web interface, as it at least once, in my case, set action.email.sendpdf = 0, when I choose pdf in the gui.&lt;BR /&gt;
When setting it directly in the conf file, and restarting Splunk, it works.&lt;/P&gt;</description>
    <pubDate>Thu, 10 Jan 2013 07:26:36 GMT</pubDate>
    <dc:creator>las</dc:creator>
    <dc:date>2013-01-10T07:26:36Z</dc:date>
    <item>
      <title>Strange behavior with alert, send email with PDF.</title>
      <link>https://community.splunk.com/t5/Alerting/Strange-behavior-with-alert-send-email-with-PDF/m-p/69831#M966</link>
      <description>&lt;P&gt;Hi.&lt;BR /&gt;&lt;BR /&gt;
I have a problem with the configuration of alert - send email with a pdf as attachment.&lt;/P&gt;

&lt;P&gt;I use Splunk 5.0.1 on windows.&lt;BR /&gt;
I had it working this morning, but then I tried to remove the Splunk search from normal alerts, without PDF. I have tried to restore action_alerts.conf and sendemail.py.&lt;/P&gt;

&lt;P&gt;My problem is that instead of attaching a PDF, it attaches a CSV file.&lt;/P&gt;

&lt;P&gt;I have done some debugging on the sendemail.py, and it does receive sendpdf=false. if I force it programaticaly to true, I get a PDF, so I don't think it's the python script.&lt;/P&gt;

&lt;P&gt;My saved search has the following stanzas:&lt;BR /&gt;
[License_monitor]&lt;BR /&gt;&lt;BR /&gt;
action.email = 1&lt;BR /&gt;&lt;BR /&gt;
action.email.format = pdf&lt;BR /&gt;&lt;BR /&gt;
action.email.sendresults = 1  &lt;/P&gt;

&lt;P&gt;If I call sendemail from a search, I also get a csv file instead of a PDF:&lt;BR /&gt;
|sendemail to=&lt;A href="mailto:name@company.com"&gt;name@company.com&lt;/A&gt; subject="Something" sendresults=true server=mailserver.company.com format=text inline=false sendpdf=true.&lt;/P&gt;

&lt;P&gt;I obviously have made an error somwhere, but I can't find it again.&lt;/P&gt;

&lt;P&gt;Kind regards&lt;/P&gt;</description>
      <pubDate>Thu, 20 Dec 2012 14:33:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Strange-behavior-with-alert-send-email-with-PDF/m-p/69831#M966</guid>
      <dc:creator>las</dc:creator>
      <dc:date>2012-12-20T14:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: Strange behavior with alert, send email with PDF.</title>
      <link>https://community.splunk.com/t5/Alerting/Strange-behavior-with-alert-send-email-with-PDF/m-p/69832#M967</link>
      <description>&lt;P&gt;I am having the same issue. Did you or anyone ever figure out a solution to this issue?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2013 18:19:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Strange-behavior-with-alert-send-email-with-PDF/m-p/69832#M967</guid>
      <dc:creator>Michael_Schyma1</dc:creator>
      <dc:date>2013-01-09T18:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: Strange behavior with alert, send email with PDF.</title>
      <link>https://community.splunk.com/t5/Alerting/Strange-behavior-with-alert-send-email-with-PDF/m-p/69833#M968</link>
      <description>&lt;P&gt;setting &lt;CODE&gt;action.email.sendpdf = 1&lt;/CODE&gt; in your savedsearches.conf should resolve the issue.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2013 18:25:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Strange-behavior-with-alert-send-email-with-PDF/m-p/69833#M968</guid>
      <dc:creator>nmistry_splunk</dc:creator>
      <dc:date>2013-01-09T18:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: Strange behavior with alert, send email with PDF.</title>
      <link>https://community.splunk.com/t5/Alerting/Strange-behavior-with-alert-send-email-with-PDF/m-p/69834#M969</link>
      <description>&lt;P&gt;Thank you, Where exactly does this go within savedsearches.conf?&lt;/P&gt;

&lt;P&gt;Also is this a global change, or will it just go in the stanza for that specific search?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2013 20:06:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Strange-behavior-with-alert-send-email-with-PDF/m-p/69834#M969</guid>
      <dc:creator>Michael_Schyma1</dc:creator>
      <dc:date>2013-01-09T20:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: Strange behavior with alert, send email with PDF.</title>
      <link>https://community.splunk.com/t5/Alerting/Strange-behavior-with-alert-send-email-with-PDF/m-p/69835#M970</link>
      <description>&lt;P&gt;Also when i just add it to the search inside of the seavedsearches.conf. i get An error occurred while generating a PDF of this report:&lt;BR /&gt;
Didn't receive PDF from Report Server&lt;/P&gt;

&lt;P&gt;Didnt think we needed this with 5.0.1&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2013 20:44:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Strange-behavior-with-alert-send-email-with-PDF/m-p/69835#M970</guid>
      <dc:creator>Michael_Schyma1</dc:creator>
      <dc:date>2013-01-09T20:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: Strange behavior with alert, send email with PDF.</title>
      <link>https://community.splunk.com/t5/Alerting/Strange-behavior-with-alert-send-email-with-PDF/m-p/69836#M971</link>
      <description>&lt;P&gt;It seems like there might be a problem, with the Splunk-Web interface, as it at least once, in my case, set action.email.sendpdf = 0, when I choose pdf in the gui.&lt;BR /&gt;
When setting it directly in the conf file, and restarting Splunk, it works.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jan 2013 07:26:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Strange-behavior-with-alert-send-email-with-PDF/m-p/69836#M971</guid>
      <dc:creator>las</dc:creator>
      <dc:date>2013-01-10T07:26:36Z</dc:date>
    </item>
  </channel>
</rss>

