From 344882472e9bc41eda618a284f7c83e3d0a03141 Mon Sep 17 00:00:00 2001 From: fang duan Date: Fri, 6 Nov 2020 10:30:40 +0800 Subject: [PATCH] Fix typo --- docs/sources/clients/promtail/pipelines.md | 2 +- docs/sources/logql/_index.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/sources/clients/promtail/pipelines.md b/docs/sources/clients/promtail/pipelines.md index 8baa38f156c1b..ee1da3cf71da8 100644 --- a/docs/sources/clients/promtail/pipelines.md +++ b/docs/sources/clients/promtail/pipelines.md @@ -130,7 +130,7 @@ scrape_configs: component: # This stage will only run if the scraped target has a label "app" - # with a value of "some-app" and the log line doesn't contains the word "info" + # with a value of "some-app" and the log line doesn't contain the word "info" - match: selector: '{app="some-app"} != "info"' stages: diff --git a/docs/sources/logql/_index.md b/docs/sources/logql/_index.md index 3c2a83ff1a740..51bb049a753e5 100644 --- a/docs/sources/logql/_index.md +++ b/docs/sources/logql/_index.md @@ -37,7 +37,7 @@ The following example shows a full log query in action: The query is composed of: - a log stream selector `{container="query-frontend",namespace="loki-dev"}` which targets the `query-frontend` container in the `loki-dev`namespace. -- a log pipeline `|= "metrics.go" | logfmt | duration > 10s and throughput_mb < 500` which will filter out log that doesn't contains the word `metrics.go`, then parses each log line to extract more labels and filter with them. +- a log pipeline `|= "metrics.go" | logfmt | duration > 10s and throughput_mb < 500` which will filter out log that contains the word `metrics.go`, then parses each log line to extract more labels and filter with them. > To avoid escaping special characters you can use the `` ` ``(back-tick) instead of `"` when quoting strings. For example `` `\w+` `` is the same as `"\\w+"`.