How is a remote monitor input distributed to forwarders?
The correct answer is B. in props.conf:
[identity]
SEDCMD-redact_pw = s/password=([^,|/s]+)/ ####REACTED####/g
s/password=([^,|/s]+)/ ####REACTED####/g
The g flag at the end means that the replacement is applied globally, not just to the first match.
Option A is incorrect because it uses the REGEX attribute instead of the SEDCMD attribute. The REGEX attribute is used to extract fields from events, not to modify them.
Option C is incorrect because it uses the transforms.conf file instead of the props.conf file. The transforms.conf file is used to define transformations that can be applied to fields or events, such as lookups, evaluations, or replacements. However, these transformations are applied after indexing, not before.
Option D is incorrect because it uses both the wrong attribute and the wrong file. There is no REGEX-redact_pw attribute in the transforms.conf file.
Walton
1 months agoBritt
1 months agoShaniqua
1 months agoDolores
8 days agoNana
14 days agoJospeh
1 months agoNieves
10 days agoLucy
24 days agoBrock
1 months agoJohnetta
2 months agoChana
9 days agoJamie
12 days agoIra
15 days agoEloisa
1 months agoGeorgeanna
2 months agoMiesha
2 months agoJesus
3 months ago