I have a sqs queue deployed in AMS and I'd like to know how consumed messages from the queue. When looking at cloudtrail action, https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-logging-using-cloudtrail.html, it doesn't include anything for consume/retrieve action.
What is the best way to achieve it?
CloudTrial does not support data events for SQS. Similarly SQS APi calls monitoring does not support GetMessages calls. So you can't retrospectively check that. You need a full custom solution for that. Namely, you clients which read the SQS must log their own activity.