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.png1walker2wheels_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!

Defend at Machine Speed: Your Guide to Security Sessions at .conf26

Splunk .conf26   With threats moving at machine speed and attack surfaces expanding across hybrid ...

Where Innovation Takes Flight: The Splunk4Aviation Flight Sim Lands at .conf26

If you hear someone at .conf26 shouting "gear down, GEAR DOWN" across the show floor, you have found us.  The ...

Turn Cisco Telemetry Into Action with Cisco Data Fabric, powered by the Splunk ...

The surge in machine data is already hitting enterprise budgets, and the agentic era will only intensify it. ...