Refine your search:

I've just started playing around with the PDF server on Splunk 4.1.6, SLES 10.2.

I added the components mentioned by the docs page, although I'm not entirely sure about the fonts. I assumed that if the fonts were missing or an issue that I'd see an error message that made that pretty clear.

After adding the PDF app and configuration the System Settings to use them, I wanted to try this out by generating an hourly PDF from the Search -> Index Activity dashboard. When I got mail, it said:

Scheduled view delivery.

A PDF snapshot has been generated for the view: index_status.

An error occurred while generating a PDF of this report: Failed to contact appserver at http://fsplunk1:8000/en-US/report/: HTTP Error 502: Bad Gateway

When I checked in python.log, it had the same HTTP error in it. The PDF server is the Splunk server (i.e. it's all local). If I hit the URL indicated above, it tells me:

405 Method Not Allowed Specified method is invalid for this server.

So I clicked on the Status Page link under E-Mail Alert settings and everything shows up as expected. (I get the document in IE and I get the download for Firefox).

What am I missing? Did I miss a step somewhere?

Thanks

asked 23 Feb '11, 22:34

mfrost8's gravatar image

mfrost8
5142427
accept rate: 46%


One Answer:

I was able to fix this on my server by adding the host and port of my splunk server into System Settings -> Email alert settings -> Link hostname. For example, if your pdfserver is installed on splunk.mydomain.com and running on port 8000, you would add splunk.mydomain.com:8000 to that field.

link

answered 21 Sep '11, 16:02

wwwdrich's gravatar image

wwwdrich
412
accept rate: 50%

Post your answer
toggle preview

Follow this question

Log In to enable email subscriptions

RSS:

Answers

Answers + Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×163

Asked: 23 Feb '11, 22:34

Seen: 1,615 times

Last updated: 21 Sep '11, 16:02

Copyright © 2005-2012 Splunk Inc. All rights reserved.