Skip to content

Commit

Permalink
Merge pull request opensearch-project#1757 from kkondaka/fix-2.3-blog
Browse files Browse the repository at this point in the history
Add a section for obfuscate processor in the 2.3 release blog post
  • Loading branch information
krisfreedain committed Jul 10, 2023
2 parents 6e60399 + cb11679 commit 0626e9a
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions _posts/2023-05-25-Announcing-Data-Prepper-2.3.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,26 @@ trace-normal-pipeline:
```

## Obfuscate processor:

Data Prepper 2.3.0 supports obfuscation of sensitive data by replacing specified field's value with mask character(s). For example, the following configuration obfuscates pattern matching values for the key specified in the field `source`. If no pattern is specified, the entire value corresponding to the key specified in the field `source` is obfuscated.

```
processor:
- obfuscate:
source: "log"
target: "new_log"
patterns:
- "[A-Za-z0-9+_.-]+@([\\w-]+\\.)+[\\w-]{2,4}"
action:
mask:
mask_character: "#"
mask_character_length: 6
- obfuscate:
source: "phone"
```


## Getting started

* To download Data Prepper, see the [OpenSearch downloads](https://opensearch.org/downloads.html) page.
Expand Down

0 comments on commit 0626e9a

Please sign in to comment.