Alerting

Failure in including PDF in alert mail

thirumalreddyb
Communicator

I've recently got this error message when i tried to generate an alert that triggers a mail which sends a PDF in the mail.

"An error occurred while generating a PDF of this report. Please see python.log for details."

The python log has the following details.
"2013-03-05 03:00:04,383 +0530 WARNING pdfgen_endpoint:323 - Invalid argument passed to pdfgen/render. arg=owner value=admin"

Tags (2)
0 Karma
1 Solution

giorgio_adami_m
Path Finder

I receive regularly pdf in alert mails and there is this line in my python.log , so your problem is somewhere else. Look for ERROR lines in python.log.

P.S. Are you using the integrated PDF generator of Splunk 5 ?

View solution in original post

giorgio_adami_m
Path Finder

I receive regularly pdf in alert mails and there is this line in my python.log , so your problem is somewhere else. Look for ERROR lines in python.log.

P.S. Are you using the integrated PDF generator of Splunk 5 ?

thirumalreddyb
Communicator

Yes, we receiving alerts through csv,html and raw. When we use "PDF" alerts we are not able to receive. I'm Using Windows-Xp OS. This can be the issue(The PDF server does not run on Windows.)? But with "Schedule PDF Delivery", I'm getting PDF attached mails.

0 Karma

giorgio_adami_m
Path Finder

Maybe the problem is an incorrect configuration of the email alert (alert_actions.conf).

Do you receive emails from splunk (without pdf) ?

If the answer is "no", these two links are for you:
http://splunk-base.splunk.com/answers/58253/problem-with-sending-email
http://docs.splunk.com/Documentation/Splunk/5.0.2/Admin/Alertactionsconf

0 Karma

thirumalreddyb
Communicator

We are getting the below mentioned error in the log.

and my mail id [email protected] is working fine for "Schedule PDF delivery". Im also receiving mails for this email.

2013-03-05 02:00:04,059 ERROR (553, '5.1.3 <@HISBSD01SPLUNK01>... User address required', '@HISBSD01SPLUNK01') while sending mail to: [email protected]

2013-03-05 02:00:04,301 +0530 WARNING pdfgen_endpoint:323 - Invalid argument passed to pdfgen/render. arg=owner value=admin

0 Karma

giorgio_adami_m
Path Finder

So, post any related ERROR line that you have in python.log .

0 Karma

thirumalreddyb
Communicator

yep, splunk 5

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Automated Threat Analysis: Available in ES Premier

Automated Threat Analysis: Centralize and Accelerate Phishing Investigations in Splunk Enterprise ...

What’s New in Splunk AI: Volume 02

Welcome to the second edition of “What’s New in Splunk AI” where we look at the latest and greatest updates, ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...