# CloudWatch Logs query slow and failing

**URL:** <https://community.grafana.com/t/cloudwatch-logs-query-slow-and-failing/37384>\
**Category:** Grafana\
**Tags:** cloudwatch\
**Created:** [October 1, 2020, 9:04am UTC](https://community.grafana.com/t/cloudwatch-logs-query-slow-and-failing/37384 "2020-10-01T09:04:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ippx](https://avatars.discourse-cdn.com/v4/letter/i/e36b37/32.png) [@ippx](https://community.grafana.com/u/ippx)\
**Post date:** [October 1, 2020, 9:04am UTC](https://community.grafana.com/t/cloudwatch-logs-query-slow-and-failing/37384/1 "2020-10-01T09:04:38Z")

</div>

Hi,

We have a dashboard based on 11 panels querying Cloudwatch Logs.  
We have several issues with this dashboard and maybe you could help us with some of them.

1. The panels are slow to load (~7s) when the same query in cloudwatch log insights takes around 2 seconds.
2. Panels regularly fail loading with an `e.data[Symbol.iterator] is not a function` error because we hit the 10 concurrent request limit as mentioned here:
  - [https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/cloudwatch\_limits\_cwl.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/cloudwatch_limits_cwl.html)
  - [https://github.com/grafana/grafana/issues/26307](https://github.com/grafana/grafana/issues/26307)

3. When inspecting a relative query, we can see the `from`/`to` parameters of the query to `api/tsdb/query` updating on the fly during the query execution. Does this mean several requests are being made, and therefore hitting the previously mentioned limit even faster?

Thanks !
