You can now generate access logs in Amazon API Gateway. This is in addition to the detailed execution logs already provided by Amazon CloudWatch for API requests made to your APIs. The access logging feature lets you generate access logs in different formats such as CLF (Common Log Format), JSON, XML, and CSV. The access logs can be fed into your existing analytics or log processing tools so you can perform more in-depth analysis or take action in response to the log data. Any context variable can be used in the access log format.