Skip to Content
Logging in Action
book

Logging in Action

by Phil Wilkins
April 2022
Intermediate to advanced
392 pages
12h 2m
English
Manning Publications
Content preview from Logging in Action

6 Filtering and extrapolation

This chapter covers

  • Applying filters to control log events
  • Implementing the record_transformer filter
  • Extrapolating information from log events
  • 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

  • Filter out specific log events, so only particular log events go to particular consuming systems

  • Filter out specific pieces of a log event message and allow us to record them as unique attributes of the log event (ultimately making ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

API Security in Action

API Security in Action

Neil Madden
Microservices Patterns

Microservices Patterns

Chris Richardson
Istio in Action

Istio in Action

Rinor Maloku, Christian E. Posta

Publisher Resources

ISBN: 9781617298356Supplemental ContentPublisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link