How do you filter log data?
You can use regular expressions, also known as a regex, to filter logs. Regex can be helpful in filtering your logs to get exactly what you want to see from the log message. Regex also gives the flexibility of writing an expression of your choice.
What is filtering log?
Log filters help control more detailed logging settings that are not handled by usual log level settings. A filter provides an optional, secondary control over what is logged, beyond the control that is provided by setting the level.