API to run user activity report

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

API to run user activity report

L2 Linker

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

 

2 REPLIES 2

L1 Bithead

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

L3 Networker

No solution available?

  • 2529 Views
  • 2 replies
  • 0 Likes
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 LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!