Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standardize schema used in match stage #1234

Merged
merged 1 commit into from
Nov 5, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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