Hi, I'm having issues when trying to use a dashboa...
# support
f
Hi, I'm having issues when trying to use a dashboard variable on a log panel on SigNoz cloud. When I try to make a query using
container_name CONTAINS $application_name
it returns nothing, but when I use the actual value of the
$application_name
variable it shows all logs correctly. Is this a bug? Or am I doing something wrong?
s
Please share the request payload when you use variable.
f
This is the payload of the
query_range
request.
Copy code
{
  "start": 1739793548000,
  "end": 1739795348000,
  "step": 60,
  "variables": {},
  "formatForWeb": false,
  "compositeQuery": {
    "queryType": "builder",
    "panelType": "list",
    "fillGaps": false,
    "builderQueries": {
      "A": {
        "dataSource": "logs",
        "queryName": "A",
        "aggregateOperator": "noop",
        "aggregateAttribute": {
          "id": "------false",
          "dataType": "",
          "key": "",
          "isColumn": false,
          "type": "",
          "isJSON": false
        },
        "timeAggregation": "rate",
        "spaceAggregation": "sum",
        "functions": [],
        "filters": {
          "op": "AND",
          "items": [
            {
              "id": "b64a1042",
              "key": {
                "key": "container_name",
                "dataType": "string",
                "type": "tag",
                "isColumn": false,
                "isJSON": false,
                "id": "container_name--string--tag--false"
              },
              "op": "contains",
              "value": "$application"
            },
            {
              "id": "38d094f8",
              "key": {
                "key": "container_name",
                "dataType": "string",
                "type": "tag",
                "isColumn": false,
                "isJSON": false,
                "id": "container_name--string--tag--false"
              },
              "op": "contains",
              "value": "$environment"
            }
          ]
        },
        "expression": "A",
        "disabled": false,
        "stepInterval": 60,
        "having": [],
        "limit": 0,
        "orderBy": [
          {
            "columnName": "timestamp",
            "order": "desc"
          }
        ],
        "groupBy": [],
        "legend": "",
        "reduceTo": "avg",
        "pageSize": 100,
        "offset": 0
      }
    }
  }
}
Also, another thing I just noticed is that whenever I try to edit a log panel, it loads empty and not with my saved search.
s
Hi @Felipe Rasinhas, this is a bug. We will get it fixed.
f
Thanks, is there a github issue or something for me to follow the progress on the fix?