Splunk Cloud Platform

PDF Gen endpoint errors

1walker2wheels
Observer

Hello fellow Splunkers,

I've recently run into a bit of an issue while working on an automation process. For context, I have already reviewed the following without success:
Solved: Re: Generate PDF from View in REST API - Splunk Community
Can I Export PDF Via Rest? - Splunk Community

In short, when do not ship the modified XML in my GET request I get the following response:

PDF endpoint must be called with one of the following args: 'input-dashboard=<dashboard-id>' or 'input-report=<report-id>' or 'input-dashboard-xml=<dashboard-xml>'

Which is more or less expected. However when I do send the modified XML in my GET request, this is what comes back:

1walker2wheels_1-1661807233416.png

I know the endpoint is functioning as I'm able to manually export the dashboard results utilizing the web interface without issue. However the manual process tie up half my day, and is not scalable moving forward.

Any advice from those who have been able to solve this would be greatly appreciated

Thanks in advance

 

 



Labels (1)
Tags (2)
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!

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...

Splunk Developers: Construct Your Future at the .conf26 Builder Bar

Calling all Splunk architects, platform admins, and app developers: the site is open, and the blueprints are ...

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...