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

4 Using Fluentd to output log events

This chapter covers

  • Using output plugins for files, MongoDB, and Slack
  • Applying different buffering options with Fluentd
  • Reviewing the benefits of buffering
  • Handling buffer overloads and other risks of buffering
  • Adding formatters to structure log events

Chapter 3 demonstrated how log events can be captured and how helper plugins such as parsers come into play. But capturing data is only of value if we can do something meaningful with it, such as delivery to an endpoint formatted so the log events can be used—for example, storing the events in a log analytics engine or sending a message to an operations (Ops) team to investigate. This chapter is about showing how Fluentd enables us to do that. We look at ...

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