Add unpack to Loki Log Browser (#44623). (#46573) (#46583)

(cherry picked from commit 5cf0906622)

Co-authored-by: Alexander Kubyshkin <i.am.glint@gmail.com>
This commit is contained in:
Grot (@grafanabot)
2022-03-15 14:34:23 +01:00
committed by GitHub
co-authored by Alexander Kubyshkin
parent edd5d8bd92
commit eecedff435
@@ -81,6 +81,13 @@ export const PIPE_OPERATORS: CompletionItem[] = [
documentation:
'Take labels and use the values as sample data for metric aggregations. Only available in Loki 2.0+.',
},
{
label: 'unpack',
insertText: 'unpack',
detail: 'unpack identifier',
documentation:
'Parses a JSON log line, unpacking all embedded labels in the pack stage. A special property "_entry" will also be used to replace the original log line. Only available in Loki 2.0+.',
},
{
label: 'label_format',
insertText: 'label_format',