Essentially there are two options, depending on what you need the data for:
1) Do it yourself: request data via the Salesforce API
The flow is roughly:
- Insert an app analytics query request which specifies:
- the timeframe you need the data for
- the package IDs you need the data for (all of the requested packages need to be enabled for AppAnalytics through the partner portal case)
- Wait until the request state is complete (through polling the request by its ID)
- Fetch the CSV data which is provided as download URL in the request. The download URL expires after a certain time (15 minutes as of today).
Then there are two types of data points you can retrieve through the process above: a) detailed log events and b) monthly summaries which rollup CRUD operations on a monthly basis. The amount of data for a) can be significant, depending on the number of subscriber orgs, users and activity in the packages.
The setup also requires a bit of fine-tuning, in order to keep the CSV size below 2GB, which is the APIs upper limit for one given request.
2) Use a plug-and-play solution
The data files described above contain usage data on a very granular level. If you're not willing or able to build the data fetching, storage, aggregation and evaluation yourself, you can use a plug-and-play solution like ISVapp. You connect it via OAuth to your partner business org and it does the heavy lifting + provides insights from the data (charts, dashboards, forecasts etc.).