Skip to content

Commit

Permalink
Fix typo (#2890)
Browse files Browse the repository at this point in the history
  • Loading branch information
dfang authored Nov 6, 2020
1 parent 9d213fb commit 64d862f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/sources/clients/promtail/pipelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion docs/sources/logql/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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+"`.
Expand Down

0 comments on commit 64d862f

Please sign in to comment.