Mask PII data in ALB logs #17830
-
I am sending my AWS ALB logs data (dumped at s3) to Elasticsearch using vector. Unfortunately, the request_url parts have some PII data in them. I want to mask it using vector before sending it to elastic search. The PII can be summed up in regex pattern as below: Can I possibly do that? Currently my vector.toml file is simple with the following transform section: how can I achieve it? Have trouble with existing syntax. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Scrubbed it by using regex and replace function.
|
Beta Was this translation helpful? Give feedback.
Scrubbed it by using regex and replace function.