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!

Agentic SOC Triage: Investigating Splunk ES Notables with MCP Server and a Local LLM

The Problem: Too Many Alerts, Too Little Context Security operations teams running Splunk Enterprise Security ...

All Work and No Play? Not at .conf26! Unwind at These Evening Events

Between hands-on technical sessions, keynote reveals, and diving into live architectures, .conf26 is packed ...

Join the Hackathon at .conf26 and build a No-Code AI agent

Join us for the AI Agent Buildathon, an in-person, three-hour hands-on Hackathon where you’ll use Splunk Agent ...