Analytic API for X Forwarded For

Not applicable

I need to run a report to find out the IP addresses for a given API usage.

I use the API use by doing

/environments/prod/stats/apiproxy?select=sum(message_count)&timeRange=4/11/2015%2000:00~4/17/2015%2000:00&timeUnit=week&filter=(request_path+like+'<APIPath>')

How do I change this to return the list of IP address clients are using? In the Apigee Console in reports, I can see X Forwarded For capturing the correct IP for the client.

Thanks

Solved Solved
0 3 326
1 ACCEPTED SOLUTION

Not applicable

@Ajay.Goel Did you try stats/x_forwarded_for_ip? replacing stats/apiproxy in the above API ?

View solution in original post

3 REPLIES 3

Not applicable

Will appreciate if someone can guide me here please @api.management.admin

Not applicable

@Ajay.Goel Did you try stats/x_forwarded_for_ip? replacing stats/apiproxy in the above API ?

Thanks Maruti, didn't know we could use any dimension like that. Yes that worked. Thanks again!