QuestionQ1Verified/Manipulating Raw DataCopy linkReport a problemAsk AstroTutorSave questionWhich is the correct example for redacting a plain-text password from raw events?Ain props.conf:[identity]REGEX-redact_pw = s/password=([^,|\s]+)/####REDACTED####/gBin transforms.conf:[identity]REGEX-redact_pw = s/password=([^,|\s]+)/####REDACTED####/gCin props.conf:[identity]SEDCMD-redact_pw = s/password=([^,|\s]+)/####REDACTED####/gDin transforms.conf:[identity]SEDCMD-redact_pw = s/password=([^,|\s]+)/####REDACTED####/gShow AnswerAnswerExplanationSplunk uses SEDCMD-<class> in props.conf to apply a sed-style replacement directly to the _raw field at index time. The substitution replaces each matched password= value with ####REDACTED####.Learn moreAnonymize dataprops.conf referenceShow comments1Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion