How to retrieve data aws Lambda

How to retrieve data from AWS Lambda. I'm using functionbeat, but even with SAR I only retrieve CloudWatch logs as well.

I would like support to know how to use these elastic integrations with AWS and I was able to directly retrieve my service metrics data, independent of lambda logs.

I've already set up a Lambda integration, added a policy agent, added the credentials and still, to no avail.

I would like something like this: