[{"data":1,"prerenderedAt":30},["ShallowReactive",2],{"snippet-cloudwatch-insight-sns-sms-delivery-analysis":3},{"id":4,"title":5,"contributors":6,"description":8,"extension":9,"gitHub":10,"introBox":13,"languages":19,"meta":20,"resources":19,"services":21,"snippets":23,"stem":27,"tags":19,"type":28,"__hash__":29},"snippets\u002Fsnippets\u002Fcloudwatch-insight-sns-sms-delivery-analysis.json","Amazon SNS SMS Delivery Analysis",[7],"content\u002Fcontributors\u002Fanirudh-gupta.json","Analyze SMS delivery success rates, costs, and message types using Amazon SNS delivery status logs for monitoring and optimization","json",{"template":11},{"repoURL":12},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-snippets\u002Ftree\u002Fmain\u002Fcloudwatch-insight-sns-sms-delivery-analysis",{"headline":14,"text":15},"How it works",[16,17,18],"Analyzes SNS SMS delivery status logs to track success rates and costs by message type","Requires selecting BOTH success and failure log groups in CloudWatch Logs Insights for complete analysis","SMS delivery status logging must be enabled with proper IAM role configuration",null,{},[22],"sns",[24],{"language":25,"code":26},"css","fields @timestamp, delivery.destination, delivery.smsType, status, delivery.priceInUSD\n| filter ispresent(delivery.destination)\n| stats count() as messageCount, \n        sum(coalesce(delivery.priceInUSD, 0)) as totalCostUSD\n        by delivery.smsType, status\n| sort delivery.smsType, status","snippets\u002Fcloudwatch-insight-sns-sms-delivery-analysis","CloudWatch Logs Insights","Szf0v5lIiioTFOKpByZPOMwyEhVV7miUWkj1MIXoJik",1792578864223]