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 ...

Get Logging in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.