(cherry picked from commit 4b1ddba0a8)
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>
This commit is contained in:
co-authored by
Sven Grossmann
parent
ac66ba77da
commit
4e2d4c42f0
@@ -188,9 +188,9 @@ export function getOperationDefinitions(): QueryBuilderOperationDef[] {
|
|||||||
explainHandler: () =>
|
explainHandler: () =>
|
||||||
`This will replace log line using a specified template. The template can refer to stream labels and extracted labels.
|
`This will replace log line using a specified template. The template can refer to stream labels and extracted labels.
|
||||||
|
|
||||||
Example: \`{{.status_code}} - {{.message}}\`
|
Example: \`{{.status_code}} - {{.message}}\`
|
||||||
|
|
||||||
[Read the docs](https://grafana.com/docs/loki/latest/logql/log_queries/#line-format-expression) for more.
|
[Read the docs](https://grafana.com/docs/loki/latest/logql/log_queries/#line-format-expression) for more.
|
||||||
`,
|
`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -209,9 +209,9 @@ export function getOperationDefinitions(): QueryBuilderOperationDef[] {
|
|||||||
explainHandler: () =>
|
explainHandler: () =>
|
||||||
`This will change name of label to desired new label. In the example below, label "error_level" will be renamed to "level".
|
`This will change name of label to desired new label. In the example below, label "error_level" will be renamed to "level".
|
||||||
|
|
||||||
Example: error_level=\`level\`
|
Example: \`\`error_level=\`level\` \`\`
|
||||||
|
|
||||||
[Read the docs](https://grafana.com/docs/loki/latest/logql/log_queries/#labels-format-expression) for more.
|
[Read the docs](https://grafana.com/docs/loki/latest/logql/log_queries/#labels-format-expression) for more.
|
||||||
`,
|
`,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user