From d9960bc434270dbb74d818078bde8801f60237ed Mon Sep 17 00:00:00 2001 From: Robert Fratto Date: Tue, 5 Nov 2019 16:37:22 -0500 Subject: [PATCH] Standardize schema used in `match` stage 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. --- docs/clients/promtail/stages/match.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/clients/promtail/stages/match.md b/docs/clients/promtail/stages/match.md index 9744fb70806d..d5c6569eb19b 100644 --- a/docs/clients/promtail/stages/match.md +++ b/docs/clients/promtail/stages/match.md @@ -16,9 +16,10 @@ match: # concatenated with job_name using an underscore. [pipeline_name: ] - # When set to drop (default to keep), all entries matching the selector will - # be dropped. Stages must not be defined when dropping entries. - [action: ] + # 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: | default = "keep"] # Nested set of pipeline stages only if the selector # matches the labels of the log entries: