Has anyone seen this before? PDF server status page generates a pdf as expected and it seems to work, the error below is when used with an email alert.
ERROR An error occurred while generating a PDF of this report: Failed to contact appserver at http://splunkserver:8000/en-US/report/: HTTP Error 504: Gateway Time-out
I'm running splunk 4.3.2.
You can try this if it's timing out:
Step 1. Stop Splunk Splunkweb Step 2. Make a copy of init.py, under path $SPLUNK_HOME/lib/python2.7/site-packages/splunk/rest Step 3. Edit path $SPLUNK_HOME/lib/python2.7/site-packages/splunk/rest/__init__.py Step 4. Make the change on line 28 - up the timeout to 60 seconds. lines 26 - 28 __init__.py #number of seconds to wait for splunkd HTTP connection to complete before #raising a socket.timeout exception SPLUNKD_CONNECTION_TIMEOUT = 60 Step 5. Restart Splunkweb
The last time pdfserver was working was on splunk 4.3.1 on 1th of may on this server. There has been some os updates since then that might be the cause of the failures now, and also splunk was updated yesterday to 4.3.2. I've now tested with fresh installations of splunk 4.3.1/4.3.2 and the same error on both on this server, so the version of splunk is probably not the cause. Currently running Red Hat Enterprise Linux Server release 6.2 (Santiago) with all the newest updates.
This XML file does not appear to have any style information associated with it. The document tree is shown below.
Traceback (most recent call last): File "/ssd/splunk/bin/rest_handler.py", line 84, in