I have built a gateway (using aws api gateway) in front of my rest api. I want to monitor the usage of resources on that api using the api-keys generated by api gateway. By 'usage' I mean which resources were requested and served to clients associated with an api key. Amazon claims that cloudtrail can be used to track gateway requests but the x-api-key header does not show up in cloudtrail logs. Has amazon provided an idiomatic way of doing this? Has anyone implemented this functionality in a custom manner? It seems reasonable that this functionality should be built in, however I cannot find how to do this anywhere.
3
-
Please search StackOverflow before asking.adamkonrad– adamkonrad2015-10-06 01:16:36 +00:00Commented Oct 6, 2015 at 1:16
-
Possible duplicate of Monitor API Gateway APIs based on API keyadamkonrad– adamkonrad2015-10-06 01:16:43 +00:00Commented Oct 6, 2015 at 1:16
-
1Thanks. Api gateway changes so fast because it's a new technology I thought there might've been an updated solution. I see that there's probably notswam92– swam922015-10-06 01:35:15 +00:00Commented Oct 6, 2015 at 1:35
Add a comment
|