Reporting

Scheduled PDF delivery - ssLink unavailable

chrmcq
Explorer

1) Using temporary enterprise license 2) Installed PDF Server 3) Tested using debug/pdf, working OK, can see PDF rendering in python.log 4) Scheduled PDF delivery of dashboard 5) Dashboard takes approx 1 minute to generate, set timeout in pdf_server.conf to 300 6) Scheduled delivery fails. Email and python.log say "Can't attach PDF - either ssLink or sessionKey unavailable". No sign of PDF rendering in python.log. 7) Debugged sendemail.py, ssLink is not populated by argvals.get("sslink") 8) Checked alert_actions.conf, sslink is supposed to be populated with $results.url$ but is not

Any ideas?

Tags (1)

rsimmons
Splunk Employee
Splunk Employee

Go under file /etc/systems/local/alert_actions.conf:

Modify the parameter under email by adding "sslink=$results.url$" :

[email] command = $action.email.preprocess_results{default=""}$ "sslink=$results.url$"

You should start to receive your PDF's.

0 Karma

sloshburch
Splunk Employee
Splunk Employee

I have the same issue but my email command already has that.

0 Karma
Get Updates on the Splunk Community!

Exporting Splunk Apps

Join us on Monday, October 21 at 11 am PT | 2 pm ET!With the app export functionality, app developers and ...

Cisco Use Cases, ITSI Best Practices, and More New Articles from Splunk Lantern

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Build Your First SPL2 App!

Watch the recording now!.Do you want to SPL™, too? SPL2, Splunk's next-generation data search and preparation ...