Hi everyone,
I’m trying to pull BCD metrics into Grafana, but my query always returns a 500 error, no matter what parameters I use.
For other modules — like Collaboration Protection and EPP — everything works fine, but data retrieval specifically for BCD doesn’t work at all.
I’ve already tried specifying my organizationId, adding a timestamp, and testing with different riskLevel and severity values, but the result is always the same.
Has anyone already built this kind of panel or managed to get BCD data through Grafana?
Could there be something wrong with my query?
Here’s my current configuration:
{
"request": {
"url": "api/ds/query?ds_type=yesoreyeram-infinity-datasource&requestId=SQR120",
"method": "POST",
"data": {
"queries": [
{
"columns": [],
"datasource": {
"type": "yesoreyeram-infinity-datasource",
"uid": "bf17fxcmkzegwa"
},
"filters": [],
"format": "table",
"parser": "backend",
"refId": "A",
"root_selector": "$.items.*",
"source": "url",
"type": "json",
"url": "https://api.connect.withsecure.com/incidents/v1/incidents",
"url_options": {
"headers": [
{ "key": "Accept", "value": "application/json" },
{ "key": "User-Agent", "value": "Withsecure/1.0" }
],
"method": "GET",
"params": [
{ "key": "limit", "value": "50" },
{ "key": "archived", "value": "false" },
{ "key": "riskLevel", "value": "medium" }
]
},
"computed_columns": [],
"datasourceId": 17,
"intervalMs": 60000,
"maxDataPoints": 1258
}
],
"from": "1762937782928",
"to": "1763024182928"
}
},
"response": {
"statusCode": 500,
"messageId": "plugin.requestFailureError",
"message": "An error occurred within the plugin"
}
}
Any idea if the issue comes from the query structure or maybe from how the BCD API endpoint responds?
Thanks in advance for any tips!