I enabled logs for API Gateway in Cloudwatch. I can see the logs in the Cloudwatch console.
Now I need to maintain a database that can store the information which contains the request method, request id, response body, and other necessary information when the API gateway method is being invoked.
So that I can query to that database to see what methods are accessed in API gateway and when it is accessed and need to display it in an angular application.
I researched the same and found nothing.
What I think: We need to use some AWS native service that scheduled for every 2 or 5 mins to read the logs of the API gateway and insert into DynamoDb or any other Database. But don't know how to use.
Please advise how to insert API Gateway logs into the database. Thanks in advance