Elastic Agent : AWS CloudWatch Fleet Integration Fail with RequestCanceledError

hello @davide.lilliu , welcome to the Elastic community

the error reported in the log is misleading: we already reported the bug and it should be fixed in the next release

to clarify: it's only the fact that the error is reported as an empty Request Canceled error the bogus behaviour

but an error indeed occurred in your setup: due to the bug mentioned above we lost the real error type and message

most likely it is a permission problem.

the actions required to fetch metrics are different from the ones required to fetch cloudwatch logs events

I can indeed see that the docs does not mention logs:FilterLogEvents, this is indeed required for fetching cloudwatch logs events.

could you try to add it to the IAM resource you use?

we will fix the documentation as well