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 testingmail@test.com 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: testingmail@test.com

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!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...