API to run user activity report

Reply
Highlighted
L2 Linker

API to run user activity report

I need to generate a UAR for multiple users and wish to automate it.

 

I can script the creation of report, and I can use the API to schedule the report:

 

https://(firewallname)/api/?type=op&cmd=<schedule><uar-report><title>test3</title><user-group>tdc\palo alto networks test reporting</user-group></uar-report>&key=(key)

 

This comes back "Success" and provides a job ID. I check the tasks and confirm the job has status of "FIN" so it has completed successfully.

 

But I then cannot retrieve the report in PDF format. I found the documentation which states to do this: https://(firewallname)/api/?type=report&action=get&job-id=(jobid)&key=(key)

 

But it states "No such report". 

 

Would love some help in finding out how I can leverate the API to run my multiple UAR's and either email them, or have them available somewhere on-box where I can retrieve them using tftp/scp etc.

 

Thanks,

Shannon

 

L1 Bithead

Re: API to run user activity report

Were you able to pull this report in PDF format using API?

L2 Linker

Re: API to run user activity report

No solution available?

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!