Grafana Cloudwatch LogGroups Query Error

  • What Grafana version and what operating system are you using?
    Grafana Version 9.5.2. RHEL 7.
  • What are you trying to achieve?
    Attempting to run a query on log groups in cloudwatch in aws. This is in govcloud.
  • How are you trying to achieve it?
    I am attempting to use the Amazon Cloudwatch Logs Dashboard that comes with Grafana. The query I a running is
fields @timestamp, @message, @logStream, @log
| sort @timestamp desc
| limit 20

I also tried this query

fields @timestamp, @message |
 sort @timestamp desc |
 limit 20

I am able to use the dropdown in the query and select the log groups but the query fails.

  • What happened?
    I get a plugin downstream error and nothing populates. When reviewing the grafana logs in /var I see:
    Querying LogGroups by ARN is not supported.

  • What did you expect to happen?
    I expected Grafana to return the results of the log group query. I was able to do this in commercial aws. Wondering if this is a govcloud specific issue.

Were you able to find a solution to this?

I am experiencing the same issue and have been unable to find a solution thus far unless I manually modify the dashboard JSON to use the the Log Group name instead of the ARN.