So I know this is over 5 years old, but I recently had to hack my way around the pdfgen/render enpoint again and I finally figured out how to set a custom logo for a single report without having to fiddle with Email Settings. The endpoint allows you to override the pdf-Settings using the HTTP arguments. This includes the parameter pdf.logo_path. Example: Assuming you're using python and splunk.rest.simpleRequest, and you've got a logo.png file in your apps appserver/static folder, you would do the following: params = {
"include-splunk-logo" : 1,
"pdf.logo_path" : "myapp:logo.png",
... any other parameters ...
}
response, content = splunk.rest.simpleRequest("https://your-splunk:8089/services/pdfgen/render", method="GET", getargs=params) Obviously this works with any other way of issuing HTTP requests. I hope this helps anyone with that particular problem.
... View more