Commit Graph

43 Commits (2b422dafa9b76632397ebfe6984148777add6ce8)

Author SHA1 Message Date
Vladyslav Diachenko 08b1a9080b
fix(logql): updated JSONExpressionParser not to unescape extracted values if it is JSON object. (#14499) 8 months ago
Ravishankar 55e374e85e
fix: skipping label if it contains special symbol (#14068) 9 months ago
Ed Welch 4c88be0ef2
chore: update loki modules for 3.0 release (#12433) 1 year ago
Anton Kolesnikov 36c703dae8
feat: add pattern match line filter (#12398) 1 year ago
Paul Rogers 472496feb7
Parse JSON String arrays properly so string elements can be retrieved (#11921) 1 year ago
Trevor Whitney 9759c130fe
fix: align semantics of metric and log query label extraction (#11587) 1 year ago
Salva Corts 52a3f16039
Flag categorize labels on streams response (#10419) 2 years ago
Travis Patterson cc1b0dbc24
Don't use unsafe string for label names in the UnpackParser (#10487) 2 years ago
Ashwanth f9fc1df4c0
logfmt: add --strict flag to enable strict parsing, perform nostrict parsing by default (#9626) 2 years ago
Trevor Whitney 4a56445686
Upgrade `golangci-lint` and fix linting errors (#9601) 2 years ago
Travis Patterson 48ad068ce1
fix json expression parser (#9410) 2 years ago
Travis Patterson 7735b1e98e
Sanitize label keys in the unpack parser (#9121) 2 years ago
Travis Patterson 163fd9d8af
Short circuit parsing when label matchers are present (#8890) 2 years ago
Travis Patterson 9d20bed26a
Short circuit parsers (#8724) 2 years ago
Ashwanth 7d2eeddfb8
LogQL: Fix panic when using `unpack` with empty line (#8853) 2 years ago
Ashwanth d08b87f799
json parser: fix panic when processing empty line (#8835) 2 years ago
Travis Patterson 37c0b3dec2
Allow math on errors (#8823) 2 years ago
Travis Patterson 9ac33e216e
Reimplement Unpack in terms of jsonparser rather than jsoniter (#8739) 2 years ago
Travis Patterson 9c6e509a6a
Reimplement JsonExpressionParser in terms of jsonparser (#8734) 2 years ago
Christian Haudum d4a6b159fa
chore: Cleanup label extraction expression (#8596) 2 years ago
Bayan Taani 68a9fd6c0a
Add logfmt selective label extraction (#6675) 2 years ago
Ed Welch c8760f31e2
Loki: Remove validation of matchers when performing label values lookup. (#8224) 2 years ago
Cyril Tovena 2861c0036f
Improve the JSON parser performance. (#7723) 2 years ago
Ed Welch 1a75bb8e22
Loki: Return an __error_details__ label for any line which incurs a __error__ while being processed (#6543) 3 years ago
Ed Welch 33761194d9
Loki: Add the ability to use the log line timestamp in label and line formatter (#6517) 3 years ago
Bryan Boreham a50cac7674
filters: use faster regexp package (#5315) 3 years ago
Vladyslav Diachenko ea37f4595d
added upgrade notes (#5311) 3 years ago
Cyril Tovena 5d8414fcd6
Intern label keys for LogQL parser. (#3990) 4 years ago
Cyril Tovena e9c0687c15
Reject labels with invalid runes when using implicit extraction parser. (#3983) 4 years ago
Cyril Tovena 59bb6d3fba
LogQL: Pattern Parser (#3837) 4 years ago
Ed Welch 6e67d1ea5d
Loki/Promtail: Client Refactor (#3623) 4 years ago
Cyril Tovena 6148794b9b
Fixes a bug where unpack would mutate log line. (#3502) 4 years ago
Ed Welch 6d48fb6942
change ReadStringAsSlice to ReadString so it doesn't parse quotes inside the packed _entry (#3432) 4 years ago
Cyril Tovena 32d668ceb0
Only unpack entry if the key `_entry` exist. (#3426) 4 years ago
Cyril Tovena 7886f35b8f
Introduce a unpack parser. (#3420) 4 years ago
Cyril Tovena f10535f7c1
Fixes a panic with whitespace key. (#3372) 4 years ago
Danny Kopping feb7fb470b
LogQL: Simple JSON expressions (#3280) 4 years ago
Cyril Tovena 3bd725e826
Fixes logfmt parser hints. (#3279) 4 years ago
Cyril Tovena e8cce09de2
Fix a bug with metric queries and label_format. (#3263) 4 years ago
Cyril Tovena 7682f133b6
Improve JSON parser and add labels parser hints. (#3080) 4 years ago
Cyril Tovena 53f4aa4ac3
Labels computation LogQLv2 (#2875) 5 years ago
Cyril Tovena dd5fceb348
Logqv2 optimization (#2778) 5 years ago
Cyril Tovena fd5cb96693
LogQL: Labels and Metrics Extraction (#2769) 5 years ago