Skip to Main Content
Logging in Action
book

Logging in Action

by Phil Wilkins
April 2022
Intermediate to advanced content levelIntermediate 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

Microservices Security in Action

Microservices Security in Action

Prabath Siriwardena, Wajjakkara Kankanamge Anthony Nuwan Dias
Logging and Log Management

Logging and Log Management

Kevin Schmidt, Chris Phillips, Anton Chuvakin
Terraform in Action

Terraform in Action

Scott Winkler

Publisher Resources

ISBN: 9781617298356Supplemental ContentPublisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link