- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Content translations are temporarily unavailable due to site maintenance. We apologize for any inconvenience. Visit our blog to learn more.
06-12-2018 04:57 AM
Trying to pull website statitics through a custom report via API, so that results can go into a database from an automation process. The problem is that the report job only stays on the Panorama for about 20 minutes and the retrieval has to be done inside of that window before it disappears. The report is already scheduled to run daily through the gui, can we not just grab those results with the API, rather than having to re-run the report? And is it normal for the report to only stay there for about 20 minutes?
We run this to create the job :
https://<panorma>/api/?type=report&async=yes&reporttype=custom&reportname=WebsiteStatistics&KEY=<api key>
We use this to retrieve the job:
https://<panorma>/api/?type=report&action=get&job-id=57249&KEY=<api key>
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!