Injecting environmental information into a log event
Masking elements of log events to maintain data security
In chapter 5, we touched upon using the filter directive to send log events to standard out. Using filters this way, while helpful, is almost a sideshow to the full capability of the directive. The filter directive can help us to
6.1 Application of filters
6.1.1 All is well events do not need to be distributed
6.1.2 Spotting the needle in a haystack
6.1.3 False urgency
6.1.4 Releveling
6.1.5 Unimplemented housekeeping
6.2 Why change log events?
6.2.1 Easier to process meaning downstream
6.2.2 Add context
6.2.3 Record when we have reacted to a log event
6.2.4 Data redaction/masking
6.3 Applying filters and parsers
6.3.1 Filter plugins
6.3.2 Applying grep filters
6.3.3 Changing log events with the record_transformer plugin
6.3.4 Filter parser vs. record transformer
6.4 Demonstrating change impact with stdout in action