- What Grafana version and what operating system are you using?
Grafana v10.1.1 (0cfa76b22d)
Enterprise edition (free)
- What are you trying to achieve?
I would like to run CloudWatch LogsInsights Query using Log Groups
- How are you trying to achieve it?
trying to use the CloudWatch datasource and build the dashboards
- What happened?
getting a http 500 error code.
{
“message”: “An error occurred within the plugin”,
“messageId”: “plugin.downstreamError”,
“statusCode”: 500,
“traceID”: “”
}
grafana logs show this error “level=error msg=“Internal server error” error=”[plugin.downstreamError] failed to query data: failed to execute log action with subtype: StartQuery: MalformedQueryException: Querying LogGroups by ARN is not supported. (Service: AWSLogs; Status Code: 400; Error Code: MalformedQueryException; Request ID: b00f4d59-8fd4-4774-8cef-2e6097568e65; Proxy: null)\n{\n RespMetadata: {\n StatusCode: 400,\n RequestID: "5d973edd-1a0e-4096-a31b-f6c981933046"\n },\n Message_: "Querying LogGroups by ARN is not supported. (Service: AWSLogs; Status Code: 400; Error Code: MalformedQueryException; Request ID: b00f4d59-8fd4-4774-8cef-2e6097568e65; Proxy: null)"\n}"
- What did you expect to happen?
get the result for the CloudWatch Query
-
Can you copy/paste the configuration(s) that you are having problems with?
-
Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
http 500 error in the UI (from the network tab)
- Did you follow any online instructions? If so, what is the URL?
None