Usage and Audit Reports Generation

Not applicable

@babukesavan I need to know how to setup the Apigee which provides the Service Usage and Audit reports for my Service based on the Consumer ID

Solved Solved
0 5 379
2 ACCEPTED SOLUTIONS

Not applicable

Possibly. You can call the Analytics API on any interval you like. If that provide the data you are looking for, you can save it off in any format you like and upload it to your ftp server.

View solution in original post

Not applicable

Hi Babu. Here is a sample Analytics API call that will provide you Usage Data (Message Count and Average Total Response Time) summarized hourly by Client ID for Jan. 13-14. Output will be in JSON format, so you will need to convert to whichever format you prefer and as Mike said, you can then upload this output file wherever you would like.

https://api.enterprise.apigee.com/v1/o/[orgname]/environments/[environmentname]/stats/client_id?&sel...

You can change "client_id" to be "apps" and you will get this summarized by App name.

Analytics API documentation can be found at: http://apigee.com/docs/analytics-services/content/use-analytics-api-measure-api-program-performance

View solution in original post

5 REPLIES 5

Not applicable

Also I need to know, if the Audit logs can be route to Amazon S3 storage via Webservice/RestAPI Call

Not applicable

You should be able to setup Custom Reports which capture the information that you need. I believe that instead of the Consumer ID, you would need to use the Application name. In the great majority of cases, that should work. Our Custom Reports are documented here. Custom reports can be exported to .csv for further analysis should you need to do that.

Not applicable

is it possible to push the generated reports to our back-end ftp server automatically on regular interval

Not applicable

Possibly. You can call the Analytics API on any interval you like. If that provide the data you are looking for, you can save it off in any format you like and upload it to your ftp server.

Not applicable

Hi Babu. Here is a sample Analytics API call that will provide you Usage Data (Message Count and Average Total Response Time) summarized hourly by Client ID for Jan. 13-14. Output will be in JSON format, so you will need to convert to whichever format you prefer and as Mike said, you can then upload this output file wherever you would like.

https://api.enterprise.apigee.com/v1/o/[orgname]/environments/[environmentname]/stats/client_id?&sel...

You can change "client_id" to be "apps" and you will get this summarized by App name.

Analytics API documentation can be found at: http://apigee.com/docs/analytics-services/content/use-analytics-api-measure-api-program-performance