1 回答
- 最新
- 投票最多
- 评论最多
0
How about using CloudWatch Logs Insights to search for requests made from Postman?
https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AnalyzingLogData.html
CloudWatch Logs Insights allows you to search only what you need from the logs output to CloudWatch Logs.
It is also possible to use CloudWatch metrics filters to register the number of errors in the metrics.
https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/MonitoringLogData.html
相关内容
- AWS 官方已更新 6 个月前
- AWS 官方已更新 2 年前
- AWS 官方已更新 4 个月前
- AWS 官方已更新 2 年前
Thanks for your reply but i'm looking for a integration with postman. we usually takes log from cloudwatch logs insights only but that will be a manual work to collect the logs, kind of api to get the logs whenver i hit the API from postman.
It is possible to use "Kinesis Stream" and "Kinesis Data Analytics" to automatically output only the necessary logs in real time, but this is not recommended as it will cost a certain amount of money. https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/SubscriptionFilters.html https://aws.amazon.com/kinesis/data-streams/pricing/?nc1=h_ls
I was looking at Postman's documentation and it looks like there is one that re-creates API requests from the contents of CloudWatch logs, but not the one you want. https://www.postman.com/berkeley-codebase-2021/workspace/codebase-cloud-integrations/collection/10891976-74f5087f-e7f4-43a6-be9d-a0fe419bfb55?ctx=documentation