1

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. Commented Oct 6, 2015 at 1:16
  • Possible duplicate of Monitor API Gateway APIs based on API key Commented Oct 6, 2015 at 1:16
  • 1
    Thanks. 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 not Commented Oct 6, 2015 at 1:35

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.