Add documentation for the regex
Signed-off-by: Michel Hollands <michel.hollands@grafana.com>
This commit is contained in:
parent
fa2b01708c
commit
9f54397e83
@ -32,6 +32,12 @@ cloud:
|
|||||||
username:
|
username:
|
||||||
password:
|
password:
|
||||||
|
|
||||||
|
# Adding regexes here will add a stage.replace block that parses the log lines using a regular expression
|
||||||
|
# and replaces the capture group in the regex with "*****".
|
||||||
|
# For example the regex "password (\\S+)" will replace the line
|
||||||
|
# we should not be logging the password xyzabc at all
|
||||||
|
# with:
|
||||||
|
# we should not be logging the password ***** at all
|
||||||
logs:
|
logs:
|
||||||
PIIregexes:
|
PIIregexes:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user