[{"data":1,"prerenderedAt":34},["ShallowReactive",2],{"snippet-cloudwatch-insight-apigw-longest-running-requests":3},{"id":4,"title":5,"contributors":6,"description":8,"extension":9,"gitHub":10,"introBox":13,"languages":18,"meta":19,"resources":20,"services":21,"snippets":23,"stem":28,"tags":29,"type":32,"__hash__":33},"snippets\u002Fsnippets\u002Fcloudwatch-insight-apigw-longest-running-requests.json","Longest running requests",[7],"content\u002Fcontributors\u002Fgiedrius-praspaliauskas.json","Identify 10 longest running API Gateway requests in your API Gateway access log group.","json",{"template":11},{"repoURL":12},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-snippets\u002Ftree\u002Fmain\u002Fcloudwatch-insight-apigw-longest-running-requests",{"headline":14,"text":15},"How it works",[16,17],"Cloudwatch Log Insights snippet that returns 10 longest running API Gateway requests.","See snippet GitHub repository for the logging setup instructions.",[],{},null,[22],"apigw",[24],{"title":25,"language":26,"code":27},"Copy the code into CloudWatch Logs Insights","css","fields @timestamp, status, ip, path, httpMethod, responseLatency\n| sort responseLatency desc\n| limit 10","snippets\u002Fcloudwatch-insight-apigw-longest-running-requests",[30,31],"Logs","API Gateway","CloudWatch Logs Insights","zL-Jz5OHSsW4qefU0khxceH0eSjzaMHMWv69CNF7M1Y",1792665262667]