数据脱敏
简介
配置参数
参数
类型,默认值
说明
样例
echo "[{'account':'1812213231432969','password':'04a23f38'}, {account':'1812213685634','password':'123a'}]" >> /home/test-ilogtail/test-log/processor-desensitize.logenable: true
inputs:
- Type: file_log
LogPath: /home/test-ilogtail/test-log/
FilePattern: processor-desensitize.log
processors:
- Type: processor_desensitize
SourceKey: content
Method: "const"
Match: "full"
ReplaceString: "********"
flushers:
- Type: flusher_stdout
OnlyStdout: trueLast updated