-
Bug
-
Resolution: Done
-
Major
-
Logging 5.5.1
-
False
-
None
-
False
-
NEW
-
VERIFIED
-
-
Log Storage - Sprint 224
When doing the following query in the logging view:
{ log_type =~ ".+" } | json | line_format "{{.message}}"
I get the following error from the server:
parse error at line 1, col 3: syntax error: unexpected ., expecting IDENTIFIER
Looking into the Chrome developer tools I can see that the query to the gateway does not contain the full query, but just part of it (only query part of URL):
?query=%7B+.message+%7D+%7C+%7D%22&start=1662571791618000000&end=1662575391618000000&limit=200
This would translate to this query:
{ .message } | }"
My assumption is that this is because of the greedy match in the LogQL parsing code.
- links to
- mentioned on