Skip to content

Commit

Permalink
Standardize schema used in match stage (#1234)
Browse files Browse the repository at this point in the history
This PR changes the schema for the `drop` field in `match` stages to use the same schema present throughout the rest of the docs. The comment describing the field has also been updated.
  • Loading branch information
rfratto authored Nov 5, 2019
1 parent 0e2ae1d commit 54b2767
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/clients/promtail/stages/match.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ match:
# concatenated with job_name using an underscore.
[pipeline_name: <string>]

# When set to drop (default to keep), all entries matching the selector will
# be dropped. Stages must not be defined when dropping entries.
[action: <keep|drop>]
# Determines what action is taken when the selector matches the log
# line. Defaults to keep. When set to drop, entries will be dropped.
# Stages must be not defined when dropping entries.
[action: <string> | default = "keep"]

# Nested set of pipeline stages only if the selector
# matches the labels of the log entries:
Expand Down

0 comments on commit 54b2767

Please sign in to comment.