Saad Bahir
11/03/2023, 4:06 PM-
within the logs query.
For example: if the build query I would have this filter
body.metadata.headers.x-forwarded-scheme = https
Which translate to this filter item in the query to the Signoz
API
{
"id": "15fa61fe-7815-40ca-a29b-ba1ed942dfbb",
"key": {
"id": "------",
"dataType": "string",
"key": "body.metadata.headers.x-forwarded-scheme",
"isColumn": false,
"type": "",
"isJSON": true
},
"op": "=",
"value": "https"
}
and it lands on this error
{
"status": "error",
"data": {
"A": "code: 36, message: Unable to parse JSONPath: while executing 'FUNCTION JSON_EXISTS(body : 1, '$.metadata.headers.x-forwarded-scheme' : 12) -> JSON_EXISTS(body, '$.metadata.headers.x-forwarded-scheme') UInt8 : 20'"
},
"errorType": "bad_data",
"error": "error in builder queries"
}
Obviously, there are no logs found on the UI.
I just wanted to know whether this is the expected behavior?
Is there a hack I can implement on the Query builder to make it work?Srikanth Chekuri
11/06/2023, 3:48 AM