Filebeat: failed FilterLogEventsRequestRequestCanceled

Hi,
I am using Filebeat 7.11.1 to fetch CloudWatch logs using given configuration

    filebeat.inputs:
    - type: aws-cloudwatch
          log_group_arn: arn:aws:logs:XXX:XXX:*
          log_group_name: /aws/
          region_name: xxxx
          log_stream_prefix: xxxx
          scan_frequency: 1m 
          credential_profile_name: xxxx          
          start_position: beginning

From logs I can see that it is connecting to CloudWatch and worker also started but after few seconds it throws

ERROR   [aws-cloudwatch]        awscloudwatch/input.go:201      failed FilterLogEventsRequestRequestCanceled: request context canceled
caused by: context deadline exceeded
1 Like

It looks rather like a network connectivity issue. Did you check if you can reach out the cloudwatch endpoint?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.