How to use regular expression, regex to print word and replace
Lokesh Carpenter
Server Reliability Engineer ( SRE ) with 13 Years of Experience | Linux | DevOps Tools | AWS | Ansible | GIT | SSL Certificate | Lift & Shift
Regular Expression - How to Remove PII Data from File | How to Masked Personal Information from Json Logs | Regex Json Value and Remove #LinuxTopic
Introduction :
To remove the personal information from the json output logs using the sed command and share with third party vendor for troubleshooting the issue.
In this tutorial we will learn blow points
- how to remove personals information of customer from the log file ?
- how to mask PII data in json logs output ?
- how to masked personal information in file and share with vendor ?
- how to regex json value and replace ?
- grep value and remove from file
- how to use regular expression in linux
We we need to remove Personals data ?
Suppose you we working on an application, while working we got an error and we tried to resolve but cant, so we need application vendor help and have to involve.
Vendor need logs to understanding the issue, here is a big challenge to share the logs directly because many organization did not allow to share customer information to third party/vendor.
So will masked the personal data from logs and share with vendor, for the single or double entity we can do it by manually but multiple or big logs file we can not do it easily means it is too time.
Click Here to read more....
Click here to watch video - https://youtu.be/Ws1qTDF8jnY