{ Community }
  • Academy
  • Docs
  • Developers
  • Resources
    • Community Articles
    • Apigee on GitHub
    • Code Samples
    • Videos & eBooks
    • Accelerator Methodology
  • Support
  • Ask a Question
  • Spaces
    • Product Announcements
    • General
    • Edge/API Management
    • Developer Portal (Drupal-based)
    • Developer Portal (Integrated)
    • API Design
    • APIM on Istio
    • Extensions
    • Business of APIs
    • Academy/Certification
    • Analytics
    • Events
    • Hybrid
    • Integration (AWS, PCF, Etc.)
    • Microgateway
    • Monetization
    • Private Cloud Deployment
    • Insights
    • IoT Apigee Link
    • BaaS/Usergrid
    • BaaS Transition/Migration
    • Apigee-127
    • New Customers
    • Topics
    • Questions
    • Articles
    • Ideas
    • Leaderboard
    • Badges
  • Log in
  • Sign up

Get answers, ideas, and support from the Apigee Community

  • Home /
  • Analytics /
avatar image
1
Question by einat.bertenthal · Apr 09, 2015 at 07:52 AM · 592 Views analyticsapi

Analytics api end points

Hi,

Can I get analytics for all my api end-points calls?

for example:

my api name is: products

api end-points: [GET] products

[GET] products/{id}

[POST] products

[DELETE] products/{id}

[GET] products/filter/{filter_id}

I would like to get analytics about each api end-point:

1. end-point calls count

2. end-point calls source (ip)

3. the actual response content for each end-point call

Thanks,

Einat.

Comment
Add comment
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Close

5 Answers

  • Sort: 
avatar image
0
Best Answer

Answer by sudheendras   · Apr 09, 2015 at 02:26 PM

An API proxy in Apigee is the API with an end point, which clients invoke. Here is a sample request to fetch the sum of messages (i.e. traffic) for 'api1' and 'api2' within the time range - 01/01/2015 2000:00~04/01/2015 2000:00. This request worked for me and I got a valid response.

https://api.enterprise.apigee.com/v1/organizations/<org_name>/environments/test/stats/apis?select=sum(message_count)&timeRange=01%2F01%2F2015%2000%3A00~04%2F01%2F2015%2000%3A00&timeUnit=day&filter=(apiproxy%20in%20'api1'%2C'api2')

You can also try the SmartDocs page on our web-site. Hope this helps.

Comment
Add comment · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
1

Answer by sudheendras   · Apr 09, 2015 at 08:27 AM

Yes. There are RESTful APIs available to fetch analytics from Apigee Edge. Here is the link with a few examples.

Apigee Edge does not record the actual response content by default. If you are interested in capturing specific fields, then use the Stats Collector policy. You can find more details on Stats Collector policy here.

Comment
Add comment · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by einat.bertenthal · Apr 09, 2015 at 01:00 PM

@sudheendra1 Thanks for the reply,

Can I filter specific end point with an api call to apigee stats?

Thanks,

Einat

Comment
Add comment · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by sudheendras   · Apr 09, 2015 at 01:16 PM

Yes. You can filter based on API proxies, by passing it as a query parameter. Eg -

filter=(apiproxy IN 'books','music')

Check out the "Report Filters" section here.

Comment
Add comment · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by einat.bertenthal · Apr 09, 2015 at 01:44 PM

@sudheendra1

I got error response:

"message" : "Invalid filter expression (apiproxy IN 'my_api_name')"

I am not sure I understand, what is apiproxy ?

Comment
Add comment · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Follow this Question

Answers Answers and Comments

13 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Analytic API for X Forwarded For 2 Answers

analytics filter - invalid API call 4 Answers

Deleting Analytics Data 2 Answers

dashboard performance - No option to toggle the view or option to check for Moving Averages, Show Alerts , Investigate Anomalies 2 Answers

What's an anomaly ? 1 Answer

  • Products
    • Edge - APIs
    • Insights - Big Data
    • Plans
  • Developers
    • Overview
    • Documentation
  • Resources
    • Overview
    • Blog
    • Apigee Institute
    • Academy
    • Documentation
  • Company
    • Overview
    • Press
    • Customers
    • Partners
    • Team
    • Events
    • Careers
    • Contact Us
  • Support
    • Support Overview
    • Documentation
    • Status
    • Edge Support Portal
    • Privacy Policy
    • Terms & Conditions
© 2019 Apigee Corp. All rights reserved. - Apigee Community Terms of Use - Powered by AnswerHub
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Post an idea
  • Spaces
  • Product Announcements
  • General
  • Edge/API Management
  • Developer Portal (Drupal-based)
  • Developer Portal (Integrated)
  • API Design
  • APIM on Istio
  • Extensions
  • Business of APIs
  • Academy/Certification
  • Analytics
  • Events
  • Hybrid
  • Integration (AWS, PCF, Etc.)
  • Microgateway
  • Monetization
  • Private Cloud Deployment
  • Insights
  • IoT Apigee Link
  • BaaS/Usergrid
  • BaaS Transition/Migration
  • Apigee-127
  • New Customers
  • Explore
  • Topics
  • Questions
  • Articles
  • Ideas
  • Members
  • Badges