-
Notifications
You must be signed in to change notification settings - Fork 356
Add instructions to disable default log masking #5645
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,15 @@ To configure this feature, follow the instructions below. | |
2. These patterns are configured in the `<IS-HOME>/repository/conf/wso2-log-masking.properties`. You can change | ||
its default configurations in `<IS-HOME>/repository/conf/deployment.toml`. | ||
|
||
### Disabling Default Log Masking | ||
|
||
To disable log masking, navigate to `<IS-HOME>/repository/conf/deployment.toml` and add the following configuration. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Break this sentence into two shorter sentences for better scannability. Consider: 'To disable log masking, open the Copilot generated this review using guidance from repository custom instructions. Positive FeedbackNegative Feedback |
||
|
||
```toml | ||
[masking_logs] | ||
enabled = false | ||
``` | ||
|
||
### The masking pattern file | ||
|
||
The masking pattern file is a property file that can contain one or more | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,3 +16,12 @@ Users can mask sensitive information from the logs at the time of shipping with | |
In this feature, you can define patterns that need to be masked from the logs and it will be masked at the Filebeat level and shipped. However, the log file itself will contain sensitive information. | ||
|
||
For more information, refer to [Configure log masking with Filebeat]({{base_path}}/deploy/monitor/elk-mask-sensitive-information-in-logs) | ||
|
||
## Disabling Default Log Masking | ||
|
||
By default, log masking is enabled. To disable log masking, navigate to `<IS-HOME>/repository/conf/deployment.toml` and add the following configuration. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Break this sentence into two shorter sentences for better scannability. Consider: 'Log masking is enabled by default. To disable it, add the following configuration to Copilot generated this review using guidance from repository custom instructions. Positive FeedbackNegative Feedback |
||
|
||
```toml | ||
[masking_logs] | ||
enabled = false | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Break this sentence into two shorter sentences for better scannability. Consider: 'To disable log masking, open the
<IS-HOME>/repository/conf/deployment.toml
file. Add the following configuration to it.'Copilot generated this review using guidance from repository custom instructions.