Hi team, with latest version v0.92.1 we are not able to see log frequency chart showing data and get...
h
Hi team, with latest version v0.92.1 we are not able to see log frequency chart showing data and get error
Copy code
{
  "status": "error",
  "error": {
    "code": "invalid_input",
    "message": "invalid query 'A': invalid order by key 'timestamp' for order by clause #1 in query 'A'",
    "errors": [
      {
        "message": "For aggregation queries, order by can only reference group by keys, aggregation aliases/expressions, or aggregation indices. Valid keys are: 0, count(), severity_text"
      }
    ]
  }
}
s
This usually happens for the old URLs. How did you arrive here? Is it old tab or link?
h
Oh yes, it’s should from a old saved view. I manually put the query condition then it works. how can I fix the old saved view?
s
Is it old saved view or is tab? Can you help me clarify because old saved view should have been migrated cleanly without this issue
h
Ok, let me confirm with my team
confirmed, it’s from his old saved browser link. we should be good now. Thanks for clarify.
s
Great, thanks for confirming.
h
Our team reported in the log quick filter it’s showing wrong filter values. You can see in cluster name it’s showing as namespace.
Actually all filter value are the same in k8s pod name, deployment name, etc
s
This is the first report of such issue. Can you inspect the network tab share the payload for attribute values requests?
h
Copy code
/api/v3/autocomplete/attribute_values?aggregateOperator=noop&dataSource=logs&aggregateAttribute=&attributeKey=k8s.cluster.name&searchText=&filterAttributeKeyDataType=string&tagType=resource
Reponse
Copy code
{
  "status": "success",
  "data": {
    "stringAttributeValues": [
      "",
      "Normal",
      "Warning"
    ],
    "numberAttributeValues": null,
    "boolAttributeValues": null
  }
}
Now it’s all showing Severity Text values…
feels like a cache issue
image.png
s
That's really strange, can you run a curl equivalent of the above request and see what is returns?
h
Emm.. curl did return proper value
Copy code
{
  "status": "success",
  "data": {
    "stringAttributeValues": [
      "dataCluster",
      "managementCluster",
      "prodCluster",
      "stagingCluster"
    ],
    "numberAttributeValues": null,
    "boolAttributeValues": null
  }
}
Might be our CDN issue
s
Probably, this is the first time I am hearing such issue so please check from your setup side once.
h
Could because CDN is not treat query parameter as part of cache key. Thanks for help.