Add documentation for the regex

Signed-off-by: Michel Hollands <michel.hollands@grafana.com>
This commit is contained in:
Michel Hollands 2023-07-07 14:23:23 +01:00 committed by Michel Hollands
parent fa2b01708c
commit 9f54397e83

View File

@ -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: